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 | 970faff8c126202ef721d3ae3cf4bfd21c7004cc (patch) | |
tree | 07c24fa66339adfb925faae5cff0466d354016b0 /llvm/utils/lit/tests | |
parent | c1c31b2c986c96b0997b6d7914d9a1d665369462 (diff) | |
download | bcm5719-llvm-970faff8c126202ef721d3ae3cf4bfd21c7004cc.tar.gz bcm5719-llvm-970faff8c126202ef721d3ae3cf4bfd21c7004cc.zip |
lit: Add a test for discovery when exact test names are given.
llvm-svn: 179247
Diffstat (limited to 'llvm/utils/lit/tests')
-rw-r--r-- | llvm/utils/lit/tests/discovery.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/utils/lit/tests/discovery.py b/llvm/utils/lit/tests/discovery.py index 54b99d39458..4c8f280c702 100644 --- a/llvm/utils/lit/tests/discovery.py +++ b/llvm/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 + + |