summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 6781796f8..55e07c514 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)