[llvm-dev] Prevent FileCheck output on large files without newlines

Johan Engelen via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 28 06:11:50 PST 2020


Hi all,
  I'm using FileCheck with as input a large file without newlines. The
trouble I'm having is that if no match is found for a check, that FileCheck
output a very large amount of text because it is printing the input file
line context "scanning from here", and that input file is a single line and
thus very large.

Is there a way to have FileCheck report which CHECK failed, but without
reporting the line context? I've tried `--dump-input=never` but that is no
help (because it seems to control an even more verbose output.).
I think there is no solution and this is a feature request for
FileCheck...

Thanks for your help,
  Johan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201228/732452c2/attachment.html>


More information about the llvm-dev mailing list