1 # Check that --ignore-fail produces exit status 0 despite various kinds of
2 # test failures but doesn't otherwise suppress those failures.
4 # RUN: not %{lit} %{inputs}/ignore-fail | FileCheck %s
5 # RUN: %{lit} --ignore-fail %{inputs}/ignore-fail | FileCheck %s
9 # CHECK-DAG: FAIL: ignore-fail :: fail.txt
10 # CHECK-DAG: UNRESOLVED: ignore-fail :: unresolved.txt
11 # CHECK-DAG: XFAIL: ignore-fail :: xfail.txt
12 # CHECK-DAG: XPASS: ignore-fail :: xpass.txt
14 # CHECK: Testing Time:
15 # CHECK: Total Discovered Tests:
16 # CHECK-NEXT: Expectedly Failed : 1 {{\([0-9]*\.[0-9]*%\)}}
17 # CHECK-NEXT: Unresolved : 1 {{\([0-9]*\.[0-9]*%\)}}
18 # CHECK-NEXT: Failed : 1 {{\([0-9]*\.[0-9]*%\)}}
19 # CHECK-NEXT: Unexpectedly Passed: 1 {{\([0-9]*\.[0-9]*%\)}}