<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 2:50 AM, Daniel Dunbar <span dir="ltr"><<a href="mailto:daniel@zuster.org" target="_blank">daniel@zuster.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 18, 2013 at 7:01 PM, Sean Silva <span dir="ltr"><<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div>On Mon, Mar 18, 2013 at 8:06 PM, Thompson, John <span dir="ltr"><<a href="mailto:John_Thompson@playstation.sony.com" target="_blank">John_Thompson@playstation.sony.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thanks, Sean.<u></u><u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I’ve fixed the issues mentioned, except for this one:<u></u><u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p><u></u><span style="font-family:Wingdings"><span>Ø<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> 
</span></span></span><u></u>+# RUN: modularize %s -x c++ 2>&1 | FileCheck %s<u></u><u></u></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">It seems “|&” mentioned in the docs doesn’t work on Windows, but “2>&1” does.  Both forms seem to work on Linux, though.  I see “2>&1”  is used in several clang
 tests.<u></u><u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> </span></p></div></div></blockquote><div><br></div></div><div>Daniel, can you confirm that the advice regarding |& vs. 2>&1 on <<a href="http://llvm.org/docs/TestingGuide.html#writing-new-regression-tests" target="_blank">http://llvm.org/docs/TestingGuide.html#writing-new-regression-tests</a>> is out of date with respect to lit's current behavior? If it is out of date, I'd like to remove it.</div>

</div></div></div></blockquote><div><br></div></div></div><div>That information is just wrong. Lit has never supported "|&", but 2>&1 does work (and should have worked for a long time).</div><div><br>

</div><div>To the best of my current recollection, the only redirections that don't work also fail with an error inside the shell parser or shell execution (of course, the latter only happens when using the internal shell execution as opposed to the one that shells out to bash).</div>

<div><br></div><div> - Daniel</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">
<span><font color="#888888">
<div><br></div><div>-- Sean Silva </div></font></span></div></div></div>
</blockquote></div><br></div></div>
</blockquote></div><br></div><div class="gmail_extra" style>Ok, I purged that incorrect documentation in r177403.</div><div class="gmail_extra" style><br></div><div class="gmail_extra" style>-- Sean Silva</div></div>