import lit.formats import os config.test_source_root = os.path.dirname(__file__) xdsl_src = os.path.dirname(os.path.dirname(config.test_source_root)) config.name = "riscemu" config.test_format = lit.formats.ShTest(preamble_commands=[f"cd {xdsl_src}"]) config.suffixes = ['.asm']