<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 2, 2014 at 5:06 PM, Hal Finkel <span dir="ltr"><<a href="mailto:hfinkel@anl.gov" target="_blank">hfinkel@anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Original Message -----<br>
> From: "Chandler Carruth" <<a href="mailto:chandlerc@gmail.com">chandlerc@gmail.com</a>><br>
> To: <a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
> Sent: Monday, December 1, 2014 7:24:52 PM<br>
> Subject: r223102 - Rely on fewer features of the 'env' command. Darwin only   supports '-i'.<br>
><br>
> Author: chandlerc<br>
> Date: Mon Dec  1 19:24:52 2014<br>
> New Revision: 223102<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=223102&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=223102&view=rev</a><br>
> Log:<br>
> Rely on fewer features of the 'env' command. Darwin only supports<br>
> '-i'.<br>
> I'm explicitly setting LC_ALL=C somewhat for documentation, but<br>
> hopefully this also removes some host variation from the test<br>
> results.<br>
<br>
</span>FWIW, this test is failing on my system because the env command is removing the LD_LIBRARY_PATH value necessary for the just-built Clang to correctly function. Any ideas?</blockquote></div><br>... not really, no. =[ Ugh. Any ideas? I can just nuke this test, but it caught real bugs in our use of std::getenv. I have no idea how to effectively manipulate the environment here.</div></div>