import lit.util import lit.formats config.name = 'ARTIQ' config.test_format = lit.formats.ShTest() config.suffixes = ['.py'] config.excludes = ['harness.py'] config.test_source_root = os.path.dirname(__file__) python_executable = 'python3' harness = '{} {}'.format(python_executable, os.path.join(config.test_source_root, 'harness.py')) config.substitutions.append( ('%python', harness) )