forked from M-Labs/artiq
lit-test: use coverage in parallel mode.
This commit is contained in:
parent
3bc119f3f0
commit
0d90d88eff
|
@ -14,7 +14,7 @@ python_executable = 'python3.5'
|
||||||
|
|
||||||
harness = os.path.join(root, 'harness.py')
|
harness = os.path.join(root, 'harness.py')
|
||||||
if os.getenv('COVERAGE'):
|
if os.getenv('COVERAGE'):
|
||||||
harness = 'coverage run --append --source=artiq {}'.format(harness)
|
harness = 'coverage run --parallel-mode --source=artiq {}'.format(harness)
|
||||||
config.environment['COVERAGE_FILE'] = os.path.join(root, '..', '.coverage')
|
config.environment['COVERAGE_FILE'] = os.path.join(root, '..', '.coverage')
|
||||||
config.substitutions.append( ('%python', harness) )
|
config.substitutions.append( ('%python', harness) )
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue