Daniel Dunbar | 40b6500 | 2016-09-26 23:38:23 +0000 | [diff] [blame] | 1 | # Check the behavior of --max-failures option. |
| 2 | # |
Reid Kleckner | c9e7000 | 2017-07-26 22:57:32 +0000 | [diff] [blame] | 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 |
Daniel Dunbar | 40b6500 | 2016-09-26 23:38:23 +0000 | [diff] [blame] | 7 | # RUN: FileCheck < %t.out %s |
| 8 | # |
| 9 | # END. |
| 10 | |
Joel E. Denny | 5e684e8 | 2019-10-17 14:43:26 +0000 | [diff] [blame^] | 11 | # CHECK: Failing Tests (30) |
Daniel Dunbar | 40b6500 | 2016-09-26 23:38:23 +0000 | [diff] [blame] | 12 | # CHECK: Failing Tests (1) |
| 13 | # CHECK: Failing Tests (2) |
Julian Lettner | 822946c | 2019-10-10 18:03:37 +0000 | [diff] [blame] | 14 | # CHECK: error: argument --max-failures: requires positive integer, but found '0' |