xref: /llvm-project/llvm/utils/lit/tests/shtest-keyword-parse-errors.py (revision 39fa96a4906934774ba20bcb0cd5f808f619f3a6)
1# FIXME: this test depends on order of tests
2# RUN: rm -f %{inputs}/shtest-keyword-parse-errors/.lit_test_times.txt
3
4# RUN: not %{lit} -j 1 -vv %{inputs}/shtest-keyword-parse-errors > %t.out
5# RUN: FileCheck -input-file %t.out %s
6#
7# END.
8
9# CHECK: Testing: 3 tests
10
11# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: empty.txt
12# CHECK:       {{^}}Test has no 'RUN:' line{{$}}
13
14# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: multiple-allow-retries.txt
15# CHECK:       {{^}}Test has more than one ALLOW_RETRIES lines{{$}}
16
17# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: unterminated-run.txt
18# CHECK:       {{^}}Test has unterminated 'RUN:' lines (with '\'){{$}}
19