Mercurial > hg > CbC > CbC_llvm
view utils/lit/tests/max-failures.py @ 147:c2174574ed3a
LLVM 10
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 16:55:33 +0900 |
parents | 3a76565eade5 |
children |
line wrap: on
line source
# Check the behavior of --max-failures option. # # 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 # RUN: FileCheck < %t.out %s # # END. # CHECK: Failing Tests (27) # CHECK: Failing Tests (1) # CHECK: Failing Tests (2) # CHECK: error: Option '--max-failures' requires positive integer