~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-04 11:02:01 UTC
  • mfrom: (4999.4.2 417881-selftest-no-apport)
  • Revision ID: pqm@pqm.ubuntu.com-20100204110201-g15a9s2y2hl6ciff
(mbp) revert turning off apport 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'
3534
3527
 
3535
3528
        if cache_dir is not None:
3536
3529
            tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)