Add a new --order option to choose between available test orders: the default "smart" order, predictable "lexical" order or "random" order. Default to using lexical order and one job in the lit test suite. Differential Revision: https://reviews.llvm.org/D107695
20 lines
640 B
Python
20 lines
640 B
Python
# Check that --ignore-fail produces exit status 0 despite various kinds of
|
|
# test failures but doesn't otherwise suppress those failures.
|
|
|
|
# RUN: not %{lit} %{inputs}/ignore-fail | FileCheck %s
|
|
# RUN: %{lit} --ignore-fail %{inputs}/ignore-fail | FileCheck %s
|
|
|
|
# END.
|
|
|
|
# CHECK-DAG: FAIL: ignore-fail :: fail.txt
|
|
# CHECK-DAG: UNRESOLVED: ignore-fail :: unresolved.txt
|
|
# CHECK-DAG: XFAIL: ignore-fail :: xfail.txt
|
|
# CHECK-DAG: XPASS: ignore-fail :: xpass.txt
|
|
|
|
# CHECK: Testing Time:
|
|
# CHECK-NEXT: Expectedly Failed : 1
|
|
# CHECK-NEXT: Unresolved : 1
|
|
# CHECK-NEXT: Failed : 1
|
|
# CHECK-NEXT: Unexpectedly Passed: 1
|
|
# CHECK-NOT: {{.}}
|