From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/rope/files: rope-0.9.3-fix_tests_results.patch |
Date: | Thu, 01 Jul 2010 04:34:26 |
Message-Id: | 20100701043423.26C462C621@corvid.gentoo.org |
1 | arfrever 10/07/01 04:34:23 |
2 | |
3 | Added: rope-0.9.3-fix_tests_results.patch |
4 | Log: |
5 | Fix returning of tests results. |
6 | (Portage version: HEAD/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-python/rope/files/rope-0.9.3-fix_tests_results.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/rope/files/rope-0.9.3-fix_tests_results.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: rope-0.9.3-fix_tests_results.patch |
15 | =================================================================== |
16 | --- ropetest/__init__.py |
17 | +++ ropetest/__init__.py |
18 | @@ -1,3 +1,4 @@ |
19 | +import sys |
20 | import unittest |
21 | |
22 | import ropetest.projecttest |
23 | @@ -31,4 +32,5 @@ |
24 | |
25 | if __name__ == '__main__': |
26 | runner = unittest.TextTestRunner() |
27 | - runner.run(suite()) |
28 | + result = runner.run(suite()) |
29 | + sys.exit(not result.wasSuccessful()) |