~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Vincent Ladeuil
  • Date: 2009-08-17 17:07:55 UTC
  • mfrom: (4618.1.2 selftest)
  • mto: This revision was merged to the branch mainline in revision 4619.
  • Revision ID: v.ladeuil+lp@free.fr-20090817170755-f0henk23tlz5jfgf
Make --parallel=fork work again

Show diffs side-by-side

added added

removed removed

Lines of Context:
2798
2798
        decorators.append(filter_tests(pattern))
2799
2799
    if suite_decorators:
2800
2800
        decorators.extend(suite_decorators)
2801
 
    # tell the result object how many tests will be running:
2802
 
    decorators.append(CountingDecorator)
 
2801
    # tell the result object how many tests will be running: (except if
 
2802
    # --parallel=fork is being used. Robert said he will provide a better
 
2803
    # progress design later -- vila 20090817)
 
2804
    if fork_decorator not in decorators:
 
2805
        decorators.append(CountingDecorator)
2803
2806
    for decorator in decorators:
2804
2807
        suite = decorator(suite)
2805
2808
    result = runner.run(suite)