1 # Check the various features of the GoogleTest format.
3 # RUN: not %{lit} -j 1 -v %{inputs}/googletest-format > %t.out
4 # FIXME: Temporarily dump test output so we can debug failing tests on
7 # RUN: FileCheck < %t.out %s
12 # CHECK: PASS: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestA
13 # CHECK: FAIL: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestB
14 # CHECK-NEXT: *** TEST 'googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/FirstTest.subTestB' FAILED ***
15 # CHECK-NEXT: I am subTest B, I FAIL
16 # CHECK-NEXT: And I have two lines of output
18 # CHECK: PASS: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/0.subTest
19 # CHECK: PASS: googletest-format :: {{[Dd]ummy[Ss]ub[Dd]ir}}/OneTest.py/ParameterizedTest/1.subTest
20 # CHECK: Failing Tests (1)
21 # CHECK: Expected Passes : 3
22 # CHECK: Unexpected Failures: 1