[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / utils / lit / tests / max-failures.py
blob6ad3753369222fe63dbe2c7fb58f3ab1f69efee5
1 # Check the behavior of --max-failures option.
3 # RUN: not %{lit} -j 1 -v %{inputs}/max-failures > %t.out
4 # RUN: not %{lit} --max-failures=1 -j 1 -v %{inputs}/max-failures >> %t.out
5 # RUN: not %{lit} --max-failures=2 -j 1 -v %{inputs}/max-failures >> %t.out
6 # RUN: not %{lit} --max-failures=0 -j 1 -v %{inputs}/max-failures 2>> %t.out
7 # RUN: FileCheck < %t.out %s
9 # END.
11 # CHECK: Failing Tests (32)
12 # CHECK: Failing Tests (1)
13 # CHECK: Failing Tests (2)
14 # CHECK: error: argument --max-failures: requires positive integer, but found '0'