12a5aa817SJoel E. Denny# Check that --ignore-fail produces exit status 0 despite various kinds of 22a5aa817SJoel E. Denny# test failures but doesn't otherwise suppress those failures. 32a5aa817SJoel E. Denny 42f69c82cSMichał Górny# RUN: not %{lit} %{inputs}/ignore-fail | FileCheck %s 52f69c82cSMichał Górny# RUN: %{lit} --ignore-fail %{inputs}/ignore-fail | FileCheck %s 62a5aa817SJoel E. Denny 72a5aa817SJoel E. Denny# END. 82a5aa817SJoel E. Denny 91d297f90SDavid Zarzycki# CHECK-DAG: FAIL: ignore-fail :: fail.txt 101d297f90SDavid Zarzycki# CHECK-DAG: UNRESOLVED: ignore-fail :: unresolved.txt 111d297f90SDavid Zarzycki# CHECK-DAG: XFAIL: ignore-fail :: xfail.txt 121d297f90SDavid Zarzycki# CHECK-DAG: XPASS: ignore-fail :: xpass.txt 132a5aa817SJoel E. Denny 142a5aa817SJoel E. Denny# CHECK: Testing Time: 15*0b7ae41bSMadhur Amilkanthwar# CHECK: Total Discovered Tests: 16*0b7ae41bSMadhur Amilkanthwar# CHECK-NEXT: Expectedly Failed : 1 {{\([0-9]*\.[0-9]*%\)}} 17*0b7ae41bSMadhur Amilkanthwar# CHECK-NEXT: Unresolved : 1 {{\([0-9]*\.[0-9]*%\)}} 18*0b7ae41bSMadhur Amilkanthwar# CHECK-NEXT: Failed : 1 {{\([0-9]*\.[0-9]*%\)}} 19*0b7ae41bSMadhur Amilkanthwar# CHECK-NEXT: Unexpectedly Passed: 1 {{\([0-9]*\.[0-9]*%\)}} 202a5aa817SJoel E. Denny# CHECK-NOT: {{.}} 21