[Coverage] MCDC: Move findIndependencePairs deferred into MCDCRecord (#121188)
[llvm-project.git] / llvm / utils / mlgo-utils / tests / lit.cfg
blob0f6137e5e91383e9a067f139889e669661594021
1 import os
3 import lit.formats
5 from lit.llvm import llvm_config
7 config.name = "mlgo-utils"
8 config.test_format = lit.formats.ShTest(execute_external=False)
10 config.suffixes = [".py", ".test"]
12 config.test_source_root = os.path.dirname(__file__)
13 config.test_exec_root = config.obj_root
15 config.environment["PYTHONPATH"] = os.path.join(config.src_root, "utils", "mlgo-utils")
17 llvm_config.use_default_substitutions()
18 config.substitutions.append(("split-file", llvm_config.use_llvm_tool("split-file")))
19 config.substitutions.append(("yaml2obj", llvm_config.use_llvm_tool("yaml2obj")))
20 config.substitutions.append(("llvm-objcopy", llvm_config.use_llvm_tool("llvm-objcopy")))
22 scripts_dir = os.path.join(config.src_root, "utils/mlgo-utils/mlgo")
23 config.substitutions.append(("%scripts_dir", scripts_dir))