Home | History | Annotate | Download | only in tests
      1 # Check the various features of the GoogleTest format.
      2 #
      3 # RUN: not %{lit} -j 1 -v %{inputs}/googletest-format > %t.out
      4 # RUN: FileCheck < %t.out %s
      5 #
      6 # END.
      7 
      8 # CHECK: -- Testing:
      9 # CHECK: PASS: googletest-format :: DummySubDir/OneTest/FirstTest.subTestA
     10 # CHECK: FAIL: googletest-format :: DummySubDir/OneTest/FirstTest.subTestB
     11 # CHECK-NEXT: *** TEST 'googletest-format :: DummySubDir/OneTest/FirstTest.subTestB' FAILED ***
     12 # CHECK-NEXT: I am subTest B, I FAIL
     13 # CHECK-NEXT: And I have two lines of output
     14 # CHECK: ***
     15 # CHECK: PASS: googletest-format :: DummySubDir/OneTest/ParameterizedTest/0.subTest
     16 # CHECK: PASS: googletest-format :: DummySubDir/OneTest/ParameterizedTest/1.subTest
     17 # CHECK: Failing Tests (1)
     18 # CHECK: Expected Passes    : 3
     19 # CHECK: Unexpected Failures: 1
     20 
     21