mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-15 10:26:23 +00:00

These non-functional changes will make it easier to add the lit tests to the bazel build (see utils/bazel). Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D133416
23 lines
732 B
Python
23 lines
732 B
Python
## Check that we can reorder test runs.
|
|
|
|
# RUN: cp %{inputs}/reorder/lit_test_times %{inputs}/reorder/.lit_test_times.txt
|
|
# RUN: not %{lit-no-order-opt} %{inputs}/reorder > %t.out
|
|
# RUN: FileCheck --check-prefix=TIMES < %{inputs}/reorder/.lit_test_times.txt %s
|
|
# RUN: FileCheck < %t.out %s
|
|
# END.
|
|
|
|
# TIMES: not-executed.txt
|
|
# TIMES-NEXT: subdir/ccc.txt
|
|
# TIMES-NEXT: bbb.txt
|
|
# TIMES-NEXT: -{{.*}} fff.txt
|
|
# TIMES-NEXT: aaa.txt
|
|
# TIMES-NEXT: new-test.txt
|
|
|
|
# CHECK: -- Testing: 5 tests, 1 workers --
|
|
# CHECK-NEXT: FAIL: reorder :: fff.txt
|
|
# CHECK-NEXT: PASS: reorder :: subdir/ccc.txt
|
|
# CHECK-NEXT: PASS: reorder :: bbb.txt
|
|
# CHECK-NEXT: PASS: reorder :: aaa.txt
|
|
# CHECK-NEXT: PASS: reorder :: new-test.txt
|
|
# CHECK: Passed: 4
|