Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / lit / tests / per-test-coverage.py
blobcf5e82c44dc51a759d5777929d05d643bf1772d5
1 # Test LLVM_PROFILE_FILE is set when --per-test-coverage is passed to command line.
3 # RUN: %{lit} -a -vv --per-test-coverage -Dexecute_external=False \
4 # RUN: %{inputs}/per-test-coverage/per-test-coverage.py | \
5 # RUN: FileCheck -DOUT=stdout %s
7 # RUN: %{lit} -a -vv --per-test-coverage -Dexecute_external=True \
8 # RUN: %{inputs}/per-test-coverage/per-test-coverage.py | \
9 # RUN: FileCheck -DOUT=stderr %s
11 # CHECK: {{^}}PASS: per-test-coverage :: per-test-coverage.py ({{[^)]*}})
12 # CHECK: Command Output ([[OUT]]):
13 # CHECK-NEXT: --
14 # CHECK: export
15 # CHECK: LLVM_PROFILE_FILE=per-test-coverage0.profraw
16 # CHECK: per-test-coverage.py
17 # CHECK: {{RUN}}: at line 2
18 # CHECK: export
19 # CHECK: LLVM_PROFILE_FILE=per-test-coverage1.profraw
20 # CHECK: per-test-coverage.py
21 # CHECK: {{RUN}}: at line 3
22 # CHECK: export
23 # CHECK: LLVM_PROFILE_FILE=per-test-coverage2.profraw
24 # CHECK: per-test-coverage.py