/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: Canonical.com Patch Queue Manager
  • Date: 2009-08-25 05:04:05 UTC
  • mfrom: (4641.3.5 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090825050405-9g097zqrev5ownl5
(robertc) Add --lsprof-tests option to bzr selftest for profiling
        individual tests. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3369
3369
                     Option('lsprof-timed',
3370
3370
                            help='Generate lsprof output for benchmarked'
3371
3371
                                 ' sections of code.'),
 
3372
                     Option('lsprof-tests',
 
3373
                            help='Generate lsprof output for each test.'),
3372
3374
                     Option('cache-dir', type=str,
3373
3375
                            help='Cache intermediate benchmark output in this '
3374
3376
                                 'directory.'),
3415
3417
            first=False, list_only=False,
3416
3418
            randomize=None, exclude=None, strict=False,
3417
3419
            load_list=None, debugflag=None, starting_with=None, subunit=False,
3418
 
            parallel=None):
 
3420
            parallel=None, lsprof_tests=False):
3419
3421
        from bzrlib.tests import selftest
3420
3422
        import bzrlib.benchmarks as benchmarks
3421
3423
        from bzrlib.benchmarks import tree_creator
3455
3457
                              "transport": transport,
3456
3458
                              "test_suite_factory": test_suite_factory,
3457
3459
                              "lsprof_timed": lsprof_timed,
 
3460
                              "lsprof_tests": lsprof_tests,
3458
3461
                              "bench_history": benchfile,
3459
3462
                              "matching_tests_first": first,
3460
3463
                              "list_only": list_only,