~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-09-10 05:48:43 UTC
  • mfrom: (2805.2.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070910054843-evbkt0bivtk6tpqu
selftest --benchmark verbose again by default (Ian Clatworthy)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2552
2552
                     ]
2553
2553
    encoding_type = 'replace'
2554
2554
 
2555
 
    def run(self, testspecs_list=None, verbose=None, one=False,
 
2555
    def run(self, testspecs_list=None, verbose=False, one=False,
2556
2556
            transport=None, benchmark=None,
2557
2557
            lsprof_timed=None, cache_dir=None,
2558
2558
            first=False, list_only=False,
2578
2578
            pattern = ".*"
2579
2579
        if benchmark:
2580
2580
            test_suite_factory = benchmarks.test_suite
2581
 
            if verbose is None:
2582
 
                verbose = True
 
2581
            # Unless user explicitly asks for quiet, be verbose in benchmarks
 
2582
            verbose = not is_quiet()
2583
2583
            # TODO: should possibly lock the history file...
2584
2584
            benchfile = open(".perf_history", "at", buffering=1)
2585
2585
        else:
2586
2586
            test_suite_factory = None
2587
 
            if verbose is None:
2588
 
                verbose = False
2589
2587
            benchfile = None
2590
2588
        try:
2591
2589
            result = selftest(verbose=verbose,