Fix failure exit status. Thanks to Brian Harring.
authorZac Medico <zmedico@gentoo.org>
Fri, 6 Mar 2009 03:24:49 +0000 (03:24 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 6 Mar 2009 03:24:49 +0000 (03:24 -0000)
svn path=/main/trunk/; revision=12765

pym/portage/tests/runTests

index 6781796f8d7f8c8a0bcbfb26dfccee47020f3eb1..55e07c5148983d4f55d5b038dce6e7b8ed8e341d 100755 (executable)
@@ -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)