~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Robert J. Tanner
  • Date: 2009-04-20 08:37:32 UTC
  • mfrom: (4299 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4300.
  • Revision ID: tanner@real-time.com-20090420083732-bzx919oo7wpmqc2u
[merge] 1.14rc2 back into bzr.dev (Bob Tanner)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3256
3256
 
3257
3257
        if cache_dir is not None:
3258
3258
            tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)
3259
 
        if not list_only:
3260
 
            print 'testing: %s' % (osutils.realpath(sys.argv[0]),)
3261
 
            print '   %s (%s python%s)' % (
3262
 
                    bzrlib.__path__[0],
3263
 
                    bzrlib.version_string,
3264
 
                    bzrlib._format_version_tuple(sys.version_info),
3265
 
                    )
3266
 
            print
3267
3259
        if testspecs_list is not None:
3268
3260
            pattern = '|'.join(testspecs_list)
3269
3261
        else:
3309
3301
        finally:
3310
3302
            if benchfile is not None:
3311
3303
                benchfile.close()
3312
 
        if not list_only:
3313
 
            if result:
3314
 
                note('tests passed')
3315
 
            else:
3316
 
                note('tests failed')
3317
3304
        return int(not result)
3318
3305
 
3319
3306
 
5628
5615
from bzrlib.bundle.commands import (
5629
5616
    cmd_bundle_info,
5630
5617
    )
 
5618
from bzrlib.foreign import cmd_dpush
5631
5619
from bzrlib.sign_my_commits import cmd_sign_my_commits
5632
5620
from bzrlib.weave_commands import cmd_versionedfile_list, \
5633
5621
        cmd_weave_plan_merge, cmd_weave_merge_text