Add gfx950 mfma instructions to ROCDL dialect (#123361)
[llvm-project.git] / llvm / utils / lit / tests / googletest-sanitizer-error.py
blob741ad088424d714dfae8080eb8f4e3f13455234d
1 # Check the output is expected when tests pass but sanitizer fails.
2 # Note that there is only one shard which has only one sub-test. However, the summary
3 # has one pass for the sub-test and one fail for the shard failure due to sanitizer
4 # reported errors.
6 # RUN: not %{lit} -v --order=random %{inputs}/googletest-sanitizer-error > %t.out
7 # FIXME: Temporarily dump test output so we can debug failing tests on
8 # buildbots.
9 # RUN: cat %t.out
10 # RUN: FileCheck < %t.out %s
12 # END.
14 # CHECK: -- Testing:
15 # CHECK: FAIL: googletest-sanitizer-error :: [[PATH:[Dd]ummy[Ss]ub[Dd]ir/]][[FILE:OneTest\.py]]/0
16 # CHECK: *** TEST 'googletest-sanitizer-error :: [[PATH]][[FILE]]/0{{.*}} FAILED ***
17 # CHECK-NEXT: Script(shard):
18 # CHECK-NEXT: --
19 # CHECK-NEXT: GTEST_OUTPUT=json:{{[^[:space:]]*}} GTEST_SHUFFLE=1 GTEST_TOTAL_SHARDS={{[1-6]}} GTEST_SHARD_INDEX=0 GTEST_RANDOM_SEED=123 {{.*}}[[FILE]]
20 # CHECK-NEXT: --
21 # CHECK-EMPTY:
22 # CHECK-EMPTY:
23 # CHECK: [ RUN ] FirstTest.subTestA
24 # CHECK-NEXT: [ OK ] FirstTest.subTestA (8 ms)
25 # CHECK: --
26 # CHECK-NEXT: exit: 1
27 # CHECK-NEXT: --
28 # CHECK: Failed Tests (1):
29 # CHECK-NEXT: googletest-sanitizer-error :: [[PATH]][[FILE]]/0/1
30 # CHECK: Passed{{ *}}: 1
31 # CHECK: Failed{{ *}}: 1