[cfe-commits] LIBRARY_PATH and tests with ###

Jordan Rose jediknil at belkadan.com
Thu Apr 5 09:16:48 PDT 2012


All right, I don't want to commit this without review because I only have OS X to test on, but does this seem like the right approach and the right set of variables to clear? I tried to get every getenv() call in lib/ and tools/libclang/

Jordy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lit.cfg.patch
Type: application/octet-stream
Size: 1837 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120405/ff7a70ce/attachment.obj>
-------------- next part --------------



On Apr 4, 2012, at 18:42, Chandler Carruth wrote:

> On Wed, Apr 4, 2012 at 11:56 PM, Jordan Rose <jediknil at belkadan.com> wrote:
>> Hi, all. test/Driver/{freebsd.c,openbsd.c} have been failing for me for a while, but it's only now that I've looked into it. It turns out that my local environment has a setting for LIBRARY_PATH, which makes the generated calls to ld include -L arguments.
>> 
> I think we should teach lit to just clear all environment variables that Clang responds to prior to running the regression tests. LIBRARY_PATH, CPATH, there a bunch of others.



More information about the cfe-commits mailing list