[PATCH] Add ALL to FileCheck
Stephen Lin
swlin at post.harvard.edu
Mon Aug 12 22:18:29 PDT 2013
Just to clarify, the idea would be that with no check prefix on the
command line, the prefix will default to "CHECK" as it does currently;
with one or more prefix specified on the command line, there will be
no implied CHECK prefix but will instead be the one or more prefix(es)
specified.
On Mon, Aug 12, 2013 at 10:11 PM, Stephen Lin <swlin at post.harvard.edu> wrote:
> Instead of hardcoding a specific "ALL" prefix, why not make it so that
> you can specify more than one prefix at a time on the command line?
>
> That way, you can share a single prefix for the majority of tests by
> simply specifying it on the command line for each test without having
> a "magic" string that is on all the time, which could lead to
> unexpected behavior if someone is unaware of its existence.
>
> Stephen
>
> On Mon, Aug 12, 2013 at 7:20 PM, Matt Arsenault
> <Matthew.Arsenault at amd.com> wrote:
>> This provides an implied prefix that will match no matter what -check-prefix is. This is useful for tests that are run multiple times with different options, but the majority of tested lines will be the same.
>>
>> http://llvm-reviews.chandlerc.com/D1374
>>
>> Files:
>> docs/CommandGuide/FileCheck.rst
>> test/CodeGen/ARM/fast-isel-load-store-verify.ll
>> test/MC/ARM/arm_instructions.s
>> utils/FileCheck/FileCheck.cpp
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
More information about the llvm-commits
mailing list