[PATCH] Search for gcc in the gcc-cross directory.

Stephen Kelly steveire at gmail.com
Mon May 20 05:13:39 PDT 2013


Dmitri Gribenko wrote:

> On Sun, May 19, 2013 at 10:58 PM, Stephen Kelly
> <steveire at gmail.com> wrote:
>> Dmitri Gribenko wrote:
>>
>>> Please take a look at how test/Driver/linux-header-search.cpp uses
>>> test/Driver/Inputs/ubuntu_13.04_multiarch_tree.
>>>
>>
>> Thanks, I made some guesses at how the testsuite works, but I didn't
>> (find out how to) run it.
> 
> These regression tests (testsuite is a different thing in LLVM/Clang)
> can be run by 'make check-all' from the build dir.

That takes 26 seconds on my system and runs 5000 tests. What I really wanted 
was this:

 llvm/tools/clang/test$ /home/stephen/dev/src/llvm/utils/lit/lit.py --param 
build_mode=. -sv  . --filter linux-header-search

I had to debug a lot of "error: expected string not found in input", so 
waiting 30 seconds between runs does not make sense.

Updated patch attached.

Thanks,

Steve.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Search-for-gcc-in-the-gcc-cross-directory.patch
Type: text/x-patch
Size: 3579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130520/b92bc8b7/attachment.bin>


More information about the cfe-commits mailing list