AMDGPU: Mark test as XFAIL in expensive_checks builds
[llvm-project.git] / llvm / utils / lit / tests / googletest-format.py
blobb66e8998cb84eb8f9e085040ba7867c99d45751f
1 # Check the various features of the GoogleTest format.
3 # RUN: not %{lit} -v --order=random %{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: FAIL: googletest-format :: [[PATH:[Dd]ummy[Ss]ub[Dd]ir/]][[FILE:OneTest\.py]]/0
13 # CHECK: *** TEST 'googletest-format :: [[PATH]][[FILE]]/0{{.*}} FAILED ***
14 # CHECK-NEXT: Script(shard):
15 # CHECK-NEXT: --
16 # CHECK-NEXT: GTEST_OUTPUT=json:{{[^[:space:]]*}} GTEST_SHUFFLE=1 GTEST_TOTAL_SHARDS={{[1-6]}} GTEST_SHARD_INDEX=0 GTEST_RANDOM_SEED=123 {{.*}}[[FILE]]
17 # CHECK-NEXT: --
18 # CHECK-EMPTY:
19 # CHECK-NEXT: Script:
20 # CHECK-NEXT: --
21 # CHECK-NEXT: [[FILE]] --gtest_filter=FirstTest.subTestB
22 # CHECK-NEXT: --
23 # CHECK-NEXT: I am subTest B output
24 # CHECK-EMPTY:
25 # CHECK-NEXT: I am subTest B, I FAIL
26 # CHECK-NEXT: And I have two lines of output
27 # CHECK-EMPTY:
28 # CHECK: Script:
29 # CHECK-NEXT: --
30 # CHECK-NEXT: [[FILE]] --gtest_filter=FirstTest.subTestD
31 # CHECK-NEXT: --
32 # CHECK-NEXT: unresolved test result
33 # CHECK: ***
34 # CHECK: Unresolved Tests (1):
35 # CHECK-NEXT: googletest-format :: [[PATH]][[FILE]]/FirstTest/subTestD
36 # CHECK: ***
37 # CHECK-NEXT: Failed Tests (1):
38 # CHECK-NEXT: googletest-format :: [[PATH]][[FILE]]/FirstTest/subTestB
39 # CHECK: Skipped{{ *}}: 1
40 # CHECK: Passed{{ *}}: 3
41 # CHECK: Unresolved{{ *}}: 1
42 # CHECK: Failed{{ *}}: 1