Add gfx950 mfma instructions to ROCDL dialect (#123361)
[llvm-project.git] / llvm / utils / lit / tests / max-failures.py
blobf14c9d598d609140d5684712d7d3d61f29afe9ab
1 # UNSUPPORTED: system-windows
2 # FIXME: This test is flaky and hangs randomly on multi-core systems.
3 # See https://github.com/llvm/llvm-project/issues/56336 for more
4 # details.
5 # REQUIRES: less-than-4-cpu-cores-in-parallel
7 # Check the behavior of --max-failures option.
9 # RUN: not %{lit} %{inputs}/max-failures > %t.out 2>&1
10 # RUN: not %{lit} --max-failures=1 %{inputs}/max-failures >> %t.out 2>&1
11 # RUN: not %{lit} --max-failures=2 %{inputs}/max-failures >> %t.out 2>&1
12 # RUN: not %{lit} --max-failures=0 %{inputs}/max-failures 2>> %t.out
13 # RUN: FileCheck < %t.out %s
16 # CHECK-NOT: reached maximum number of test failures
17 # CHECK-NOT: Skipped
18 # CHECK: Failed: 3
20 # CHECK: reached maximum number of test failures, skipping remaining tests
21 # CHECK: Skipped: 2
22 # CHECK: Failed : 1
24 # CHECK: reached maximum number of test failures, skipping remaining tests
25 # CHECK: Skipped: 1
26 # CHECK: Failed : 2
28 # CHECK: error: argument --max-failures: requires positive integer, but found '0'