[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / utils / lit / tests / googletest-format.py
blob094c6cfc514c2bbb4a1af3b09a93ce2fbb60411c
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
5 # buildbots.
6 # RUN: cat %t.out
7 # RUN: FileCheck < %t.out %s
9 # END.
11 # CHECK: -- Testing:
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
17 # CHECK: ***
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