~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: 2010-02-03 16:33:47 UTC
  • mfrom: (4999.4.1 417881-selftest-no-apport)
  • Revision ID: pqm@pqm.ubuntu.com-20100203163347-hd3o9r24qbgofg7s
(mbp) turn off selftest globally in cmd_selftest

Show diffs side-by-side

added added

removed removed

Lines of Context:
3524
3524
 
3525
3525
        # Make deprecation warnings visible, unless -Werror is set
3526
3526
        symbol_versioning.activate_deprecation_warnings(override=False)
 
3527
       
 
3528
        # Whatever you normally want, for the purposes of running selftest you
 
3529
        # probably actually want to see the exception, not to turn it into an
 
3530
        # apport failure.  This is specifically turned off again for tests of
 
3531
        # apport.  We turn it off here so that eg a SyntaxError loading the
 
3532
        # tests is caught.
 
3533
        os.environ['APPORT_DISABLE'] = '1'
3527
3534
 
3528
3535
        if cache_dir is not None:
3529
3536
            tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)