summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-06 03:24:49 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-06 03:24:49 +0000
commitf10ccaba75452da0e236b2d631cdef05c67e2350 (patch)
tree1406fa2bb032ad52493285d352299cf730340302
parentMake config.categories a sorted tuple so that portdbapi can reuse it. (diff)
downloadportage-idfetch-f10ccaba75452da0e236b2d631cdef05c67e2350.tar.gz
portage-idfetch-f10ccaba75452da0e236b2d631cdef05c67e2350.tar.bz2
portage-idfetch-f10ccaba75452da0e236b2d631cdef05c67e2350.zip
Fix failure exit status. Thanks to Brian Harring.
svn path=/main/trunk/; revision=12765
-rwxr-xr-xpym/portage/tests/runTests2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/tests/runTests b/pym/portage/tests/runTests
index 6781796f..55e07c51 100755
--- a/pym/portage/tests/runTests
+++ b/pym/portage/tests/runTests
@@ -16,5 +16,5 @@ import portage.tests as tests
if __name__ == "__main__":
result = tests.main()
- if result.failures:
+ if not result.wasSuccessful():
sys.exit(1)