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

Marshall Clow mclow.lists at gmail.com
Tue Jan 14 13:24:34 PST 2014


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?

— 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140114/d9b8aba6/attachment.html>


More information about the cfe-commits mailing list