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
16 lines
567 B
Python
16 lines
567 B
Python
# RUN: not %{lit} -vv %{inputs}/shtest-keyword-parse-errors > %t.out
|
|
# RUN: FileCheck -input-file %t.out %s
|
|
#
|
|
# END.
|
|
|
|
# CHECK: Testing: 3 tests
|
|
|
|
# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: empty.txt
|
|
# CHECK: {{^}}Test has no 'RUN:' line{{$}}
|
|
|
|
# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: multiple-allow-retries.txt
|
|
# CHECK: {{^}}Test has more than one ALLOW_RETRIES lines{{$}}
|
|
|
|
# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: unterminated-run.txt
|
|
# CHECK: {{^}}Test has unterminated 'RUN:' lines (with '\'){{$}}
|