1 # Check the various features of the GoogleTest format. 2 # 3 # RUN: not %{lit} -j 1 -v %{inputs}/googletest-upstream-format > %t.out 4 # RUN: FileCheck < %t.out %s 5 # 6 # END. 7 8 # CHECK: -- Testing: 9 # CHECK: PASS: googletest-upstream-format :: DummySubDir/OneTest/FirstTest.subTestA 10 # CHECK: FAIL: googletest-upstream-format :: DummySubDir/OneTest/FirstTest.subTestB 11 # CHECK-NEXT: *** TEST 'googletest-upstream-format :: DummySubDir/OneTest/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 15 # CHECK: *** 16 # CHECK: PASS: googletest-upstream-format :: DummySubDir/OneTest/ParameterizedTest/0.subTest 17 # CHECK: PASS: googletest-upstream-format :: DummySubDir/OneTest/ParameterizedTest/1.subTest 18 # CHECK: Failing Tests (1) 19 # CHECK: Expected Passes : 3 20 # CHECK: Unexpected Failures: 1 21