[Pkg-bazaar-commits] ./bzr-builddeb/trunk r225: Make return code calculation clearer.
James Westby
jw+debian at jameswestby.net
Thu May 15 13:29:40 UTC 2008
------------------------------------------------------------
revno: 225
committer: James Westby <jw+debian at jameswestby.net>
branch nick: trunk
timestamp: Wed 2008-03-19 22:40:15 +0000
message:
Make return code calculation clearer.
modified:
__init__.py
-------------- next part --------------
=== modified file '__init__.py'
--- a/__init__.py 2008-03-19 22:36:12 +0000
+++ b/__init__.py 2008-03-19 22:40:15 +0000
@@ -624,8 +624,9 @@
def run(self):
from bzrlib.tests import selftest
- result = selftest(test_suite_factory=test_suite)
- return not result
+ passed = selftest(test_suite_factory=test_suite)
+ # invert for shell exit code rules
+ return not passed
register_command(cmd_test_builddeb)
More information about the Pkg-bazaar-commits
mailing list