Start on benchmarking infrastructure: a framework for starting nodes.

This commit is contained in:
Itamar Turner-Trauring
2023-09-05 11:45:54 -04:00
parent fbd383105c
commit 9ee10af884
6 changed files with 124 additions and 139 deletions

View File

@ -240,7 +240,7 @@ def _tahoe_runner_optional_coverage(proto, reactor, request, other_args):
allmydata.scripts.runner` and `other_args`, optionally inserting a
`--coverage` option if the `request` indicates we should.
"""
if request.config.getoption('coverage'):
if request.config.getoption('coverage', False):
args = [sys.executable, '-b', '-m', 'coverage', 'run', '-m', 'allmydata.scripts.runner', '--coverage']
else:
args = [sys.executable, '-b', '-m', 'allmydata.scripts.runner']