diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-04-11 00:31:22 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-04-11 00:31:22 +0000 |
commit | 6be0ae59ec79864f627d8dc8d6c4976116386cba (patch) | |
tree | aee2e3a9595c9e979e51c5c3bbccb9c81cfa47f1 /utils | |
parent | 70c2b88d3beb83e2b89c4c5e63021b0863bd7ce7 (diff) | |
download | external_llvm-6be0ae59ec79864f627d8dc8d6c4976116386cba.zip external_llvm-6be0ae59ec79864f627d8dc8d6c4976116386cba.tar.gz external_llvm-6be0ae59ec79864f627d8dc8d6c4976116386cba.tar.bz2 |
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
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lit/tests/discovery.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/lit/tests/discovery.py b/utils/lit/tests/discovery.py index 54b99d3..4c8f280 100644 --- a/utils/lit/tests/discovery.py +++ b/utils/lit/tests/discovery.py @@ -23,3 +23,18 @@ # CHECK-BASIC-OUT: PASS: top-level-suite :: subdir/test-three # CHECK-BASIC-OUT: PASS: top-level-suite :: test-one # CHECK-BASIC-OUT: PASS: top-level-suite :: test-two + + +# Check discovery when exact test names are given. +# +# RUN: %{lit} \ +# RUN: %{inputs}/discovery/subdir/test-three.py \ +# RUN: %{inputs}/discovery/subsuite/test-one.txt \ +# RUN: -j 1 --no-execute --show-suites -v > %t.out +# RUN: FileCheck --check-prefix=CHECK-EXACT-TEST < %t.out %s +# +# CHECK-EXACT-TEST: -- Testing: 2 tests, 1 threads -- +# CHECK-EXACT-TEST: PASS: sub-suite :: test-one +# CHECK-EXACT-TEST: PASS: top-level-suite :: subdir/test-three + + |