1 # Test if lit_config.per_test_coverage in lit.cfg sets individual test case coverage.
3 # RUN: %{lit} -a -vv -Dexecute_external=False \
4 # RUN: %{inputs}/per-test-coverage-by-lit-cfg/per-test-coverage-by-lit-cfg.py | \
5 # RUN: FileCheck -DOUT=stdout %s
7 # RUN: %{lit} -a -vv -Dexecute_external=True \
8 # RUN: %{inputs}/per-test-coverage-by-lit-cfg/per-test-coverage-by-lit-cfg.py | \
9 # RUN: FileCheck -DOUT=stderr %s
11 # CHECK: {{^}}PASS: per-test-coverage-by-lit-cfg :: per-test-coverage-by-lit-cfg.py ({{[^)]*}})
12 # CHECK: Command Output ([[OUT]]):
15 # CHECK: LLVM_PROFILE_FILE=per-test-coverage-by-lit-cfg0.profraw
16 # CHECK: per-test-coverage-by-lit-cfg.py
17 # CHECK: {{RUN}}: at line 2
19 # CHECK: LLVM_PROFILE_FILE=per-test-coverage-by-lit-cfg1.profraw
20 # CHECK: per-test-coverage-by-lit-cfg.py
21 # CHECK: {{RUN}}: at line 3
23 # CHECK: LLVM_PROFILE_FILE=per-test-coverage-by-lit-cfg2.profraw
24 # CHECK: per-test-coverage-by-lit-cfg.py