~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/HACKING.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-08 00:31:16 UTC
  • mfrom: (3390.1.3 selftest-debug-flags)
  • Revision ID: pqm@pqm.ubuntu.com-20080508003116-ps46dreqbprfr166
Add --debugflags/-E option to selftest. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
284
284
filter patterns to understand their effect.
285
285
 
286
286
 
 
287
Test suite debug flags
 
288
----------------------
 
289
 
 
290
Similar to the global ``-Dfoo`` debug options, bzr selftest accepts
 
291
``-E=foo`` debug flags.  These flags are:
 
292
 
 
293
:allow_debug: do *not* clear the global debug flags when running a test.
 
294
  This can provide useful logging to help debug test failures when used
 
295
  with e.g. ``bzr -Dhpss selftest -E=allow_debug``
 
296
 
 
297
 
287
298
Writing Tests
288
299
=============
289
300