~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: 2007-07-13 05:09:43 UTC
  • mfrom: (2606.1.3 test-cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20070713050943-v0ag8yiwniny9tp0
Update tests for new version display

Show diffs side-by-side

added added

removed removed

Lines of Context:
2475
2475
        from bzrlib.tests import selftest
2476
2476
        import bzrlib.benchmarks as benchmarks
2477
2477
        from bzrlib.benchmarks import tree_creator
 
2478
        from bzrlib.version import show_version
2478
2479
 
2479
2480
        if cache_dir is not None:
2480
2481
            tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)
2481
 
        print '%10s: %s' % ('bzr', osutils.realpath(sys.argv[0]))
2482
 
        print '%10s: %s' % ('bzrlib', bzrlib.__path__[0])
 
2482
        if not list_only:
 
2483
            show_version(show_config=False, show_copyright=False)
2483
2484
        print
2484
2485
        if testspecs_list is not None:
2485
2486
            pattern = '|'.join(testspecs_list)