25 lines · python
1# -*- Python -*-2 3import os4 5import lit.formats6import lit.util7 8from lit.llvm import llvm_config9from lit.llvm.subst import ToolSubst10 11config.name = "ORC-RT"12config.test_format = lit.formats.ShTest()13config.test_source_root = os.path.dirname(__file__)14config.test_exec_root = os.path.join(config.orc_rt_obj_root, "test")15config.suffixes = [16 ".test"17]18 19llvm_config.with_environment(20 "PATH",21 os.path.join(config.orc_rt_obj_root, "tools", "orc-executor"),22 append_path=True)23 24llvm_config.use_default_substitutions()25