llvm/utils/lit/tests/googletest-discovery-failed.py
raw| 1 | # Check for correct error message when discovery of tests fails. |
| 2 | # |
| 3 | # RUN: not %{lit} -v %{inputs}/googletest-discovery-failed > %t.cmd.out |
| 4 | # RUN: FileCheck < %t.cmd.out %s |
| 5 | |
| 6 | |
| 7 | # CHECK: -- Testing: |
| 8 | # CHECK: Failed Tests (1): |
| 9 | # CHECK: googletest-discovery-failed :: subdir/OneTest.py/failed_to_discover_tests_from_gtest |
| 10 | # CHECK: Failed: 1 |