forked from M-Labs/artiq
lit-test/compiler -> lit-test/test.
Other directories in lit-test will host various parts of the test harness.
This commit is contained in:
parent
7903889082
commit
862ac1f90d
|
@ -1,12 +1,13 @@
|
||||||
|
import os, subprocess
|
||||||
import lit.util
|
import lit.util
|
||||||
import lit.formats
|
import lit.formats
|
||||||
|
|
||||||
|
root = os.path.join(os.path.dirname(__file__), '..')
|
||||||
|
|
||||||
config.name = 'ARTIQ'
|
config.name = 'ARTIQ'
|
||||||
config.test_format = lit.formats.ShTest()
|
config.test_format = lit.formats.ShTest()
|
||||||
config.suffixes = ['.py']
|
config.suffixes = ['.py']
|
||||||
config.excludes = ['harness.py']
|
|
||||||
config.test_source_root = os.path.dirname(__file__)
|
|
||||||
|
|
||||||
python_executable = 'python3'
|
python_executable = 'python3'
|
||||||
harness = '{} {}'.format(python_executable, os.path.join(config.test_source_root, 'harness.py'))
|
harness = '{} {}'.format(python_executable, os.path.join(root, 'harness.py'))
|
||||||
config.substitutions.append( ('%python', harness) )
|
config.substitutions.append( ('%python', harness) )
|
Loading…
Reference in New Issue