forked from M-Labs/artiq
1
0
Fork 0

lit-test/compiler -> lit-test/test.

Other directories in lit-test will host various parts of
the test harness.
This commit is contained in:
whitequark 2015-07-27 03:52:45 +03:00
parent 7903889082
commit 862ac1f90d
41 changed files with 4 additions and 3 deletions

View File

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