[LLVMdev] Need help reproducing a sanitizer buildbot failure

Adam Nemet anemet at apple.com
Fri Apr 11 09:54:07 PDT 2014


On Apr 11, 2014, at 9:19 AM, Reid Kleckner <rnk at google.com> wrote:

> On Fri, Apr 11, 2014 at 12:35 AM, Kostya Serebryany <kcc at google.com> wrote:
> I wonder if we can configure the lit test runner to print the (tail of) test output on failure. 
> 
> You'd have to teach FileCheck, actually, since it's the one that consumes stderr in this case.  Rather than doing that, why not use *SAN_OPTIONS=log_file=blah.txt, and teach lit to dump that on failure?

I wished in the recent past that FileCheck would print its input upon failure.  It currently only prints a single line with “possible intended match: blah” which may or may not be the line you’re interested in.  I can work on this if people think that this would be a good feature.

Adam

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140411/87177bcc/attachment.html>


More information about the llvm-dev mailing list