llvm-for-llvmta/utils/lit/tests/googletest-discovery-failed.py

11 lines
342 B
Python
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# Check for correct error message when discovery of tests fails.
#
# RUN: not %{lit} -j 1 -v %{inputs}/googletest-discovery-failed > %t.cmd.out
# RUN: FileCheck < %t.cmd.out %s
# CHECK: -- Testing:
# CHECK: Failed Tests (1):
# CHECK: googletest-discovery-failed :: subdir/OneTest.py/failed_to_discover_tests_from_gtest
# CHECK: Failed: 1