[Pkg-bazaar-commits] ./bzr/unstable r515: - bzr selftest: return shell false (1) if any tests fail
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:19:27 UTC 2009
------------------------------------------------------------
revno: 515
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Mon 2005-05-16 18:11:41 +1000
message:
- bzr selftest: return shell false (1) if any tests fail
modified:
bzrlib/commands.py
-------------- next part --------------
=== modified file 'bzrlib/commands.py'
--- a/bzrlib/commands.py 2005-05-16 08:09:40 +0000
+++ b/bzrlib/commands.py 2005-05-16 08:11:41 +0000
@@ -859,8 +859,10 @@
print '%-40s %3d tests' % ('total', tests),
if failures:
print '%3d FAILED!' % failures
+ return 1
else:
print
+ return 0
More information about the Pkg-bazaar-commits
mailing list