~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-08 12:39:40 UTC
  • mfrom: (4266.2.1 tests.output)
  • Revision ID: pqm@pqm.ubuntu.com-20090408123940-kaho6cwr21163fjn
(robertc) Remove clutter from bzr selftest --list. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3252
3252
                    bzrlib.version_string,
3253
3253
                    bzrlib._format_version_tuple(sys.version_info),
3254
3254
                    )
3255
 
        print
 
3255
            print
3256
3256
        if testspecs_list is not None:
3257
3257
            pattern = '|'.join(testspecs_list)
3258
3258
        else:
3298
3298
        finally:
3299
3299
            if benchfile is not None:
3300
3300
                benchfile.close()
3301
 
        if result:
3302
 
            note('tests passed')
3303
 
        else:
3304
 
            note('tests failed')
 
3301
        if not list_only:
 
3302
            if result:
 
3303
                note('tests passed')
 
3304
            else:
 
3305
                note('tests failed')
3305
3306
        return int(not result)
3306
3307
 
3307
3308