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

Jordan Rose jediknil at belkadan.com
Wed Apr 4 14:56:58 PDT 2012


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.

This patch handles that by adding 'env LIBRARY_PATH=""' to the %clang run lines, but I'm not sure what other environment variables might affect this. Another solution might be to split the CHECK line into pieces.

For those who manage freebsd.c and openbsd.c, what are these tests supposed to be checking?

Thanks,
Jordy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: library-path.patch
Type: application/octet-stream
Size: 2160 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120404/4e055854/attachment.obj>


More information about the cfe-commits mailing list