2016-09-27 01:38:23 +02:00
|
|
|
# Check the behavior of --max-failures option.
|
|
|
|
#
|
2017-07-27 00:57:32 +02:00
|
|
|
# RUN: not %{lit} -j 1 -v %{inputs}/max-failures > %t.out
|
|
|
|
# RUN: not %{lit} --max-failures=1 -j 1 -v %{inputs}/max-failures >> %t.out
|
|
|
|
# RUN: not %{lit} --max-failures=2 -j 1 -v %{inputs}/max-failures >> %t.out
|
|
|
|
# RUN: not %{lit} --max-failures=0 -j 1 -v %{inputs}/max-failures 2>> %t.out
|
2016-09-27 01:38:23 +02:00
|
|
|
# RUN: FileCheck < %t.out %s
|
|
|
|
#
|
|
|
|
# END.
|
|
|
|
|
2018-04-25 19:30:00 +02:00
|
|
|
# CHECK: Failing Tests (26)
|
2016-09-27 01:38:23 +02:00
|
|
|
# CHECK: Failing Tests (1)
|
|
|
|
# CHECK: Failing Tests (2)
|
|
|
|
# CHECK: error: Setting --max-failures to 0 does not have any effect.
|