aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/lit/tests/shtest-keyword-parse-errors.py
blob: 2b42d748b54db8f270b4ee3d6c59d41f43cffb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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:' directive (with '\') at line 1{{$}}