~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Robert Collins
  • Date: 2006-05-16 06:45:43 UTC
  • mto: (1713.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1714.
  • Revision ID: robertc@robertcollins.net-20060516064543-5cb7cc63047ba98b
Start on bench_add, an add benchtest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1785
1785
    def run(self, testspecs_list=None, verbose=False, one=False,
1786
1786
            keep_output=False, transport=None, benchmark=None):
1787
1787
        import bzrlib.ui
1788
 
        from bzrlib.tests import selftest, benchmark_suite
 
1788
        from bzrlib.tests import selftest
 
1789
        import bzrlib.benchmarks as benchmarks
1789
1790
        # we don't want progress meters from the tests to go to the
1790
1791
        # real output; and we don't want log messages cluttering up
1791
1792
        # the real logs.
1801
1802
            else:
1802
1803
                pattern = ".*"
1803
1804
            if benchmark:
1804
 
                test_suite_factory = benchmark_suite
 
1805
                test_suite_factory = benchmarks.test_suite
1805
1806
            else:
1806
1807
                test_suite_factory = None
1807
1808
            result = selftest(verbose=verbose,