1 # Check the various features of the GoogleTest format.
3 # RUN: not %{lit} -j 1 -v %{inputs}/googletest-upstream-format > %t.out
4 # RUN: FileCheck < %t.out %s
9 # CHECK: PASS: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestA
10 # CHECK: FAIL: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestB
11 # CHECK-NEXT: *** TEST 'googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestB' FAILED ***
12 # CHECK-NEXT: Running main() from gtest_main.cc
13 # CHECK-NEXT: I am subTest B, I FAIL
14 # CHECK-NEXT: And I have two lines of output
16 # CHECK: PASS: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/0.subTest
17 # CHECK: PASS: googletest-upstream-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/1.subTest
18 # CHECK: Failing Tests (1)
19 # CHECK: Expected Passes : 3
20 # CHECK: Unexpected Failures: 1