11 lines · python
1# Check for correct error message when discovery of tests fails.2#3# RUN: not %{lit} -v %{inputs}/googletest-discovery-failed > %t.cmd.out4# RUN: FileCheck < %t.cmd.out %s5 6 7# CHECK: -- Testing:8# CHECK: Failed Tests (1):9# CHECK: googletest-discovery-failed :: subdir/OneTest.py/failed_to_discover_tests_from_gtest10# CHECK: Failed: 111