[LLVMdev] [llvm-commits] [PATCH] A "very verbose" mode for FileCheck

Eli Bendersky eliben at google.com
Wed Jan 16 10:38:56 PST 2013


On Wed, Jan 16, 2013 at 10:32 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> Hello,
>
> When someone breaks a FileCheck-based test on some buildbot, sometimes
> it may not be obvious *why* did it fail.  If the failure can not be
> reproduced locally, it can be very hard to fix.
>
> I propose adding a "very verbose" mode to FileCheck.  In this mode
> FileCheck will dump the input file in case of failure.  This mode will
> be enabled by an environment variable "FILECHECK_VERY_VERBOSE".  If we
> chose a command line option, we would have to edit all FileCheck-based
> tests to use %FileCheck.
>
> Attached is the proposed patch.  A patch for zorg will follow if this
> is accepted.  Normal output for 'make check' is unchanged.
>
> I am not attached to the name "FILECHECK_VERY_VERBOSE", suggestions
> for better names are welcome.
>

Could you describe a situation where this helps in more detail? It's
quite easy to reproduce the input file to FileCheck locally.

Eli



More information about the llvm-dev mailing list