xref: /llvm-project/llvm/utils/lit/tests/googletest-discovery-failed.py (revision 2f69c82cec1ae05b4fdcef4ac48f48e9e2bad32b)
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
11