[libcxx patch] Modify testit to allow filtering tests by prefixes

Nico Weber thakis at chromium.org
Tue Jan 14 22:01:19 PST 2014


On Tue, Jan 14, 2014 at 1:24 PM, Marshall Clow <mclow.lists at gmail.com>wrote:

> On Jan 9, 2014, at 6:40 PM, Albert Wong (王重傑) <ajwong at google.com> wrote:
>
> Sorry, it's attached now.
>
> Yep, I'm aware that you can invoke the script from anywhere the hierarchy.
> I've found the prefix reduction still useful if only one case is failing in
> a directory and I want fast edit/compile/run cycles for that single test.
>
>
> This looks fine to me.
> Do you have commit privs, or should I commit it for you?
>

I believe he doesn't (yet?). (Replying for Albert since he's on vacation.)


>
> — Marshall
>
>
>
> On Fri, Jan 3, 2014 at 11:27 AM, Marshall Clow <mclow.lists at gmail.com>wrote:
>
>> On Dec 31, 2013, at 5:06 AM, Albert Wong (王重傑) <ajwong at google.com> wrote:
>>
>> Hello!
>>
>> This was a simple modification to testit which allows for filtering test
>> based on an environment variable. It was originally done to the android ndk
>> variant of this script (where it was very useful for reducing
>> compile/run/debug cycle times) so I thought I'd backport it incase anyone
>> wanted it.
>>
>> Usage would be:
>>
>> libcxx/test/language.support/support.dynamic/new.delete/new.delete.single$ TEST_PREFIX=new_replace ../../../../testit
>>
>> Albert —
>>
>> I see no patch here.
>>
>> Also, are you aware that you can invoke the test it script from anywhere
>> in the test directory hierarchy, and it will test “from there down”?
>>
>> — Marshall
>>
>>
>>
> <testit.patch>
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140114/c53ff875/attachment.html>


More information about the cfe-commits mailing list