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

Attachment: lit.cfg.patch
Description: Binary data



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

> On Wed, Apr 4, 2012 at 11:56 PM, Jordan Rose <[email protected]> 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.

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to