2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

lit-test: use coverage in parallel mode.

This commit is contained in:
whitequark 2015-12-03 16:35:44 +08:00
parent 3bc119f3f0
commit 0d90d88eff

View File

@ -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: