~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-08-09 06:36:01 UTC
  • mfrom: (2687.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070809063601-esywbsbqp7zcs4x9
Add selftest --strict

Show diffs side-by-side

added added

removed removed

Lines of Context:
2510
2510
                            short_name='x',
2511
2511
                            help='Exclude tests that match this regular'
2512
2512
                                 ' expression.'),
 
2513
                     Option('strict', help='Fail on missing dependencies or '
 
2514
                            'known failures.'),
2513
2515
                     ]
2514
2516
    encoding_type = 'replace'
2515
2517
 
2517
2519
            transport=None, benchmark=None,
2518
2520
            lsprof_timed=None, cache_dir=None,
2519
2521
            first=False, list_only=False,
2520
 
            randomize=None, exclude=None):
 
2522
            randomize=None, exclude=None, strict=False):
2521
2523
        import bzrlib.ui
2522
2524
        from bzrlib.tests import selftest
2523
2525
        import bzrlib.benchmarks as benchmarks
2555
2557
                              matching_tests_first=first,
2556
2558
                              list_only=list_only,
2557
2559
                              random_seed=randomize,
2558
 
                              exclude_pattern=exclude
 
2560
                              exclude_pattern=exclude,
 
2561
                              strict=strict,
2559
2562
                              )
2560
2563
        finally:
2561
2564
            if benchfile is not None: