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