2016-09-27 07:38:23 +08:00
|
|
|
# Check the behavior of --max-failures option.
|
|
|
|
#
|
2017-07-27 06:57:32 +08: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 07:38:23 +08:00
|
|
|
# RUN: FileCheck < %t.out %s
|
|
|
|
#
|
|
|
|
# END.
|
|
|
|
|
2018-01-10 02:23:34 +08:00
|
|
|
# CHECK: Failing Tests (24)
|
2016-09-27 07:38:23 +08:00
|
|
|
# CHECK: Failing Tests (1)
|
|
|
|
# CHECK: Failing Tests (2)
|
|
|
|
# CHECK: error: Setting --max-failures to 0 does not have any effect.
|