Daniel Dunbar | f74e41a | 2013-01-31 00:21:51 +0000 | [diff] [blame^] | 1 | # Check the basic discovery process, including a sub-suite. |
| 2 | # |
| 3 | # RUN: %{lit} %{inputs}/discovery \ |
| 4 | # RUN: -j 1 --debug --no-execute --show-suites -v > %t.out 2> %t.err |
| 5 | # RUN: FileCheck --check-prefix=CHECK-BASIC-OUT < %t.out %s |
| 6 | # RUN: FileCheck --check-prefix=CHECK-BASIC-ERR < %t.err %s |
| 7 | # |
| 8 | # CHECK-BASIC-ERR: loading suite config '{{.*}}/tests/Inputs/discovery/lit.cfg' |
| 9 | # CHECK-BASIC-ERR: loading local config '{{.*}}/tests/Inputs/discovery/subdir/lit.local.cfg' |
| 10 | # CHECK-BASIC-ERR: loading suite config '{{.*}}/tests/Inputs/discovery/subsuite/lit.cfg' |
| 11 | # |
| 12 | # CHECK-BASIC-OUT: -- Test Suites -- |
| 13 | # CHECK-BASIC-OUT: sub-suite - 2 tests |
| 14 | # CHECK-BASIC-OUT: Source Root: |
| 15 | # CHECK-BASIC-OUT: Exec Root : |
| 16 | # CHECK-BASIC-OUT: top-level-suite - 3 tests |
| 17 | # CHECK-BASIC-OUT: Source Root: |
| 18 | # CHECK-BASIC-OUT: Exec Root : |
| 19 | # |
| 20 | # CHECK-BASIC-OUT: -- Testing: 5 tests, 1 threads -- |
| 21 | # CHECK-BASIC-OUT: PASS: sub-suite :: test-one |
| 22 | # CHECK-BASIC-OUT: PASS: sub-suite :: test-two |
| 23 | # CHECK-BASIC-OUT: PASS: top-level-suite :: subdir/test-three |
| 24 | # CHECK-BASIC-OUT: PASS: top-level-suite :: test-one |
| 25 | # CHECK-BASIC-OUT: PASS: top-level-suite :: test-two |