llvm.org GIT mirror llvm / 6be0ae5
lit: Add a test for discovery when exact test names are given. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179247 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 6 years ago
1 changed file(s) with 15 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
2222 # CHECK-BASIC-OUT: PASS: top-level-suite :: subdir/test-three
2323 # CHECK-BASIC-OUT: PASS: top-level-suite :: test-one
2424 # CHECK-BASIC-OUT: PASS: top-level-suite :: test-two
25
26
27 # Check discovery when exact test names are given.
28 #
29 # RUN: %{lit} \
30 # RUN: %{inputs}/discovery/subdir/test-three.py \
31 # RUN: %{inputs}/discovery/subsuite/test-one.txt \
32 # RUN: -j 1 --no-execute --show-suites -v > %t.out
33 # RUN: FileCheck --check-prefix=CHECK-EXACT-TEST < %t.out %s
34 #
35 # CHECK-EXACT-TEST: -- Testing: 2 tests, 1 threads --
36 # CHECK-EXACT-TEST: PASS: sub-suite :: test-one
37 # CHECK-EXACT-TEST: PASS: top-level-suite :: subdir/test-three
38
39