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