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.
|
|
|
|
|
2019-12-17 16:23:11 +01:00
|
|
|
# CHECK: Failing Tests (35)
|
2016-09-27 01:38:23 +02:00
|
|
|
# CHECK: Failing Tests (1)
|
|
|
|
# CHECK: Failing Tests (2)
|
2019-10-10 20:03:37 +02:00
|
|
|
# CHECK: error: argument --max-failures: requires positive integer, but found '0'
|