forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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