~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Martin Pool
  • Date: 2005-07-22 23:31:09 UTC
  • Revision ID: mbp@sourcefrog.net-20050722233109-7b030502e5311685
- selftest is less verbose by default, and takes a -v option if you want it

Show diffs side-by-side

added added

removed removed

Lines of Context:
1303
1303
class cmd_selftest(Command):
1304
1304
    """Run internal test suite"""
1305
1305
    hidden = True
1306
 
    def run(self):
 
1306
    takes_options = ['verbose']
 
1307
    def run(self, verbose=False):
1307
1308
        from bzrlib.selftest import selftest
1308
 
        return int(not selftest())
 
1309
        return int(not selftest(verbose=verbose))
1309
1310
 
1310
1311
 
1311
1312
class cmd_version(Command):