mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-13 12:58:20 +00:00
Start on benchmarking infrastructure: a framework for starting nodes.
This commit is contained in:
@ -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']
|
||||
|
Reference in New Issue
Block a user