1 |
Author: zmedico |
2 |
Date: 2009-03-06 03:24:49 +0000 (Fri, 06 Mar 2009) |
3 |
New Revision: 12765 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/tests/runTests |
7 |
Log: |
8 |
Fix failure exit status. Thanks to Brian Harring. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/portage/tests/runTests |
12 |
=================================================================== |
13 |
--- main/trunk/pym/portage/tests/runTests 2009-03-05 19:01:49 UTC (rev 12764) |
14 |
+++ main/trunk/pym/portage/tests/runTests 2009-03-06 03:24:49 UTC (rev 12765) |
15 |
@@ -16,5 +16,5 @@ |
16 |
|
17 |
if __name__ == "__main__": |
18 |
result = tests.main() |
19 |
- if result.failures: |
20 |
+ if not result.wasSuccessful(): |
21 |
sys.exit(1) |