mirror of https://github.com/m-labs/artiq.git
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')
|
||||
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.substitutions.append( ('%python', harness) )
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue