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

Albert Wong (王重傑) ajwong at google.com
Thu Jan 9 18:40:37 PST 2014


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.


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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140109/bff956ae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testit.patch
Type: text/x-patch
Size: 1205 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140109/bff956ae/attachment.bin>


More information about the cfe-commits mailing list