xref: /llvm-project/llvm/utils/lit/tests/shtest-keyword-parse-errors.py (revision 28412d1800e391c5ba8e7607bb15c74b106d581b)
12f69c82cSMichał Górny# RUN: not %{lit} -vv %{inputs}/shtest-keyword-parse-errors > %t.out
22866f9dbSJoel E. Denny# RUN: FileCheck -input-file %t.out %s
32866f9dbSJoel E. Denny#
42866f9dbSJoel E. Denny# END.
52866f9dbSJoel E. Denny
62866f9dbSJoel E. Denny# CHECK: Testing: 3 tests
72866f9dbSJoel E. Denny
82866f9dbSJoel E. Denny# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: empty.txt
92866f9dbSJoel E. Denny# CHECK:       {{^}}Test has no 'RUN:' line{{$}}
102866f9dbSJoel E. Denny
112866f9dbSJoel E. Denny# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: multiple-allow-retries.txt
122866f9dbSJoel E. Denny# CHECK:       {{^}}Test has more than one ALLOW_RETRIES lines{{$}}
132866f9dbSJoel E. Denny
142866f9dbSJoel E. Denny# CHECK-LABEL: UNRESOLVED: shtest-keyword-parse-errors :: unterminated-run.txt
15*28412d18SJoel E. Denny# CHECK:       {{^}}Test has unterminated 'RUN:' directive (with '\') at line 1{{$}}
16