Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / utils / lit / tests / reorder.py
blob8ebeac393d557503e4c4d86029f9d349282aac7c
1 ## Check that we can reorder test runs.
3 # RUN: cp %{inputs}/reorder/lit_test_times %{inputs}/reorder/.lit_test_times.txt
4 # RUN: not %{lit-no-order-opt} %{inputs}/reorder > %t.out
5 # RUN: FileCheck --check-prefix=TIMES < %{inputs}/reorder/.lit_test_times.txt %s
6 # RUN: FileCheck < %t.out %s
7 # END.
9 # TIMES: not-executed.txt
10 # TIMES-NEXT: subdir/ccc.txt
11 # TIMES-NEXT: bbb.txt
12 # TIMES-NEXT: -{{.*}} fff.txt
13 # TIMES-NEXT: aaa.txt
14 # TIMES-NEXT: new-test.txt
16 # CHECK: -- Testing: 5 tests, 1 workers --
17 # CHECK-NEXT: FAIL: reorder :: fff.txt
18 # CHECK-NEXT: PASS: reorder :: subdir/ccc.txt
19 # CHECK-NEXT: PASS: reorder :: bbb.txt
20 # CHECK-NEXT: PASS: reorder :: aaa.txt
21 # CHECK-NEXT: PASS: reorder :: new-test.txt
22 # CHECK: Passed: 4