~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-05-16 08:11:41 UTC
  • Revision ID: mbp@sourcefrog.net-20050516081141-09145035a895b5b1
- bzr selftest: return shell false (1) if any tests fail

Show diffs side-by-side

added added

removed removed

Lines of Context:
859
859
        print '%-40s %3d tests' % ('total', tests),
860
860
        if failures:
861
861
            print '%3d FAILED!' % failures
 
862
            return 1
862
863
        else:
863
864
            print
 
865
            return 0
864
866
 
865
867
 
866
868