Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r12765 - main/trunk/pym/portage/tests
Date: Fri, 06 Mar 2009 03:24:51
Message-Id: E1LfQg6-0006iA-If@stork.gentoo.org
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)