diff options
Diffstat (limited to 'src/mailman/bin/runner.py')
| -rw-r--r-- | src/mailman/bin/runner.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mailman/bin/runner.py b/src/mailman/bin/runner.py index 76da0364f..7648ed961 100644 --- a/src/mailman/bin/runner.py +++ b/src/mailman/bin/runner.py @@ -42,6 +42,12 @@ from mailman.version import MAILMAN_VERSION_FULL log = None +# Enable coverage if run under the appropriate test suite. +if os.environ.get('COVERAGE_PROCESS_START') is not None: + import coverage + coverage.process_startup() + + class ROptionAction(argparse.Action): """Callback for -r/--runner option.""" |
