aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/tests/Inputs/per-test-coverage/lit.cfg
blob: 9ffca93def73fdb18954eee9b88925fc84009f64 (plain)
1
2
3
4
5
6
7
8
9
10
import lit.formats
import os

config.name = "per-test-coverage"
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"]
)
config.substitutions.append(("%{python}", '"%s"' % (sys.executable)))