[llvm] [cmake] Add possibility to use ChooseMSVCCRT.cmake when include LLVM library
[llvm-core.git] / utils / lit / tests / googletest-upstream-format.py
blob938740d80e7ba005aa5170e55f8b4ab7cdb70be1
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
6 # END.
8 # CHECK: -- Testing:
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
15 # CHECK: ***
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