summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/runTests
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-09 19:21:54 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-09 19:21:54 -0700
commit93b7bbebd96c1cca24a53659657033d621e5c1f4 (patch)
tree994a3a75f4beac256d47407ac41f443effa7aba7 /pym/portage/tests/runTests
parent6d6784555cdc6d541a824ff7a5cd31a343f62ca3 (diff)
downloadportage-93b7bbebd96c1cca24a53659657033d621e5c1f4.tar.gz
portage-93b7bbebd96c1cca24a53659657033d621e5c1f4.tar.bz2
portage-93b7bbebd96c1cca24a53659657033d621e5c1f4.zip
tests/__init__: return int from main()
Diffstat (limited to 'pym/portage/tests/runTests')
-rwxr-xr-xpym/portage/tests/runTests4
1 files changed, 1 insertions, 3 deletions
diff --git a/pym/portage/tests/runTests b/pym/portage/tests/runTests
index 146f7d4ac..4c1008708 100755
--- a/pym/portage/tests/runTests
+++ b/pym/portage/tests/runTests
@@ -41,6 +41,4 @@ del path
if __name__ == "__main__":
- result = tests.main()
- if not result.wasSuccessful():
- sys.exit(1)
+ sys.exit(tests.main())