/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-15 13:11:13 UTC
  • mfrom: (1923 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1933.
  • Revision ID: john@arbash-meinel.com-20060815131113-be6662a39155dd33
[merge] bzr.dev 1923

Show diffs side-by-side

added added

removed removed

Lines of Context:
1933
1933
                     Option('lsprof-timed',
1934
1934
                            help='generate lsprof output for benchmarked'
1935
1935
                                 ' sections of code.'),
 
1936
                     Option('cache-dir', type=str,
 
1937
                            help='a directory to cache intermediate'
 
1938
                                 ' benchmark steps'),
1936
1939
                     ]
1937
1940
 
1938
1941
    def run(self, testspecs_list=None, verbose=None, one=False,
1939
1942
            keep_output=False, transport=None, benchmark=None,
1940
 
            lsprof_timed=None):
 
1943
            lsprof_timed=None, cache_dir=None):
1941
1944
        import bzrlib.ui
1942
1945
        from bzrlib.tests import selftest
1943
1946
        import bzrlib.benchmarks as benchmarks
 
1947
        from bzrlib.benchmarks import tree_creator
 
1948
 
 
1949
        if cache_dir is not None:
 
1950
            tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)
1944
1951
        # we don't want progress meters from the tests to go to the
1945
1952
        # real output; and we don't want log messages cluttering up
1946
1953
        # the real logs.