22 lines · python
1# Test the --show-<result-code> {pass,unsupported,xfail,...} options.2#3# RUN: not %{lit} %{inputs}/show-result-codes | FileCheck %s --check-prefix=NONE4# RUN: not %{lit} %{inputs}/show-result-codes --show-unsupported | FileCheck %s --check-prefix=ONE5# RUN: not %{lit} %{inputs}/show-result-codes --show-pass --show-xfail | FileCheck %s --check-prefix=MULTIPLE6 7# Failing tests are always shown8# NONE-NOT: Unsupported Tests (1)9# NONE-NOT: Passed Tests (1)10# NONE-NOT: Expectedly Failed Tests (1)11# NONE: Failed Tests (1)12 13# ONE: Unsupported Tests (1)14# ONE-NOT: Passed Tests (1)15# ONE-NOT: Expectedly Failed Tests (1)16# ONE: Failed Tests (1)17 18# MULTIPLE-NOT: Unsupported Tests (1)19# MULTIPLE: Passed Tests (1)20# MULTIPLE: Expectedly Failed Tests (1)21# MULTIPLE: Failed Tests (1)22