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