Lines Matching full:input
2 ; Create the check file, good input, and bad input.
4 ; For both good and bad input, make sure the -v trace has at least one remark
5 ; so we can check how trace suppression is affected by -dump-input.
18 ; Check -dump-input=<bad value>.
22 ; RUN: not FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
23 ; RUN: -match-full-lines -dump-input=foobar 2>&1 \
27 ; RUN: %ProtectFileCheckOutput not FileCheck -dump-input=foobar 2>&1 \
30 BADVAL: {{F|f}}ile{{C|c}}heck{{.*}}: for the --dump-input option: Cannot find option named 'foobar'!
33 ; Check -dump-input=help.
38 ; RUN: FileCheck -input-file %t.err -color %t.check -dump-input=help \
42 ; RUN: %ProtectFileCheckOutput FileCheck -dump-input=help \
46 ; Check -dump-input=never.
53 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
54 ; RUN: -match-full-lines -dump-input=never 2>&1 \
60 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
61 ; RUN: -match-full-lines -dump-input=never 2>&1 \
66 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
67 ; RUN: -match-full-lines -dump-input=never -v 2>&1 \
72 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
73 ; RUN: -match-full-lines -dump-input=never -v 2>&1 \
77 ; Check no -dump-input, which defaults to fail.
82 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
89 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
95 ; Check -dump-input=fail.
102 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
103 ; RUN: -match-full-lines -dump-input=fail 2>&1 \
109 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
110 ; RUN: -match-full-lines -dump-input=fail 2>&1 \
115 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
116 ; RUN: -match-full-lines -dump-input=fail -v 2>&1 \
122 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
123 ; RUN: -match-full-lines -dump-input=fail -v 2>&1 \
128 ; Check -dump-input=always.
133 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
134 ; RUN: -match-full-lines -dump-input=always -v 2>&1 \
139 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
140 ; RUN: -match-full-lines -dump-input=always -v 2>&1 \
145 ; Check multiple -dump-input options.
147 ; This occurs most commonly when a test author specifies -dump-input on a
148 ; specific FileCheck call while a test runner specifies -dump-input in
161 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
162 ; RUN: -match-full-lines -dump-input=fail -dump-input=fail -v \
173 ; RUN: FileCheck -input-file %t.err -color %t.check \
174 ; RUN: -dump-input=help -dump-input=always \
179 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
180 ; RUN: -match-full-lines -dump-input=always -dump-input=fail \
186 ; RUN: not FileCheck -input-file %t.err %t.check -check-prefix=CHECK \
187 ; RUN: -match-full-lines -dump-input=fail -dump-input=never -v \
198 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
199 ; RUN: -match-full-lines -dump-input=fail -dump-input=always \
208 ; RUN: %ProtectFileCheckOutput FILECHECK_OPTS=-dump-input=always \
209 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
210 ; RUN: -match-full-lines -dump-input=fail -v 2>&1 \
214 ; RUN: %ProtectFileCheckOutput FILECHECK_OPTS=-dump-input=fail \
215 ; RUN: FileCheck -input-file %t.good %t.check -check-prefix=CHECK \
216 ; RUN: -match-full-lines -dump-input=always -v 2>&1 \
226 ; HELP: The following description was requested by -dump-input=help
239 ; DUMP-OK: Input was:
247 ; DUMP-ERR: Input was: