Fix failure exit status. Thanks to Brian Harring. (trunk r12765)
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:44:05 +0000 (06:44 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:44:05 +0000 (06:44 -0000)
svn path=/main/branches/2.1.6/; revision=13009

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)