mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-23 22:06:19 +00:00

- This is primarily useful as a "fail fast" mode for lit, where it will stop running tests after the first failure. - Patch by Max Moiseev. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282452 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
526 B
Python
15 lines
526 B
Python
# Check the behavior of --max-failures option.
|
|
#
|
|
# RUN: not %{lit} -j 1 -v %{inputs}/shtest-shell > %t.out
|
|
# RUN: not %{lit} --max-failures=1 -j 1 -v %{inputs}/shtest-shell >> %t.out
|
|
# RUN: not %{lit} --max-failures=2 -j 1 -v %{inputs}/shtest-shell >> %t.out
|
|
# RUN: not %{lit} --max-failures=0 -j 1 -v %{inputs}/shtest-shell 2>> %t.out
|
|
# RUN: FileCheck < %t.out %s
|
|
#
|
|
# END.
|
|
|
|
# CHECK: Failing Tests (3)
|
|
# CHECK: Failing Tests (1)
|
|
# CHECK: Failing Tests (2)
|
|
# CHECK: error: Setting --max-failures to 0 does not have any effect.
|