brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1001 B · f14c9d5 Raw
29 lines · python
1# UNSUPPORTED: system-windows2# FIXME: This test is flaky and hangs randomly on multi-core systems.3# See https://github.com/llvm/llvm-project/issues/56336 for more4# details.5# REQUIRES:  less-than-4-cpu-cores-in-parallel6 7# Check the behavior of --max-failures option.8#9# RUN: not %{lit}                  %{inputs}/max-failures >  %t.out 2>&110# RUN: not %{lit} --max-failures=1 %{inputs}/max-failures >> %t.out 2>&111# RUN: not %{lit} --max-failures=2 %{inputs}/max-failures >> %t.out 2>&112# RUN: not %{lit} --max-failures=0 %{inputs}/max-failures 2>> %t.out13# RUN: FileCheck < %t.out %s14#15 16# CHECK-NOT: reached maximum number of test failures17# CHECK-NOT: Skipped18# CHECK: Failed: 319 20# CHECK: reached maximum number of test failures, skipping remaining tests21# CHECK: Skipped: 222# CHECK: Failed : 123 24# CHECK: reached maximum number of test failures, skipping remaining tests25# CHECK: Skipped: 126# CHECK: Failed : 227 28# CHECK: error: argument --max-failures: requires positive integer, but found '0'29