bolt/deps/llvm-18.1.8/llvm/utils/lit/tests/Inputs/per-test-coverage-by-lit-cfg/lit.cfg

12 lines
384 B
INI
Raw Normal View History

2025-02-14 19:21:04 +01:00
import lit.formats
import os
config.name = "per-test-coverage-by-lit-cfg"
config.suffixes = [".py"]
config.test_format = lit.formats.ShTest(
execute_external=eval(lit_config.params.get("execute_external")),
preamble_commands=["%{python} %s | FileCheck -DINDEX=0 %s"]
)
lit_config.per_test_coverage = True
config.substitutions.append(("%{python}", '"%s"' % (sys.executable)))