<div>Daniel,</div>
<div> </div>
<div>Here's a wierd one regarding running the test/Frontend/ast-main.c test on Windows.  The "diff" utility seems to be crashing when run from the test scripts in .  Running the same command line from the command shell doesn't crash:</div>

<div> </div>
<div>diff C:\Tools\llvm\tools\clang\test\Frontend\Output\ast-main.c.tmp1.ll C:\Tools\llvm\tools\clang\test\Frontend\Output\ast-main.c.tmp2.ll</div>
<div> </div>
<div>By default, on my system, I'm using the diff from the gnuwin32 utils.  I also substituted the msys diff, but it crashes also, but only when run under the test scripts.<br></div>
<div>Are you seeing this too?</div>
<div> </div>
<div>Any thoughts?</div>
<div> </div>
<div>-John<br> </div>
<div class="gmail_quote">On Tue, Oct 13, 2009 at 7:51 AM, Daniel Dunbar <span dir="ltr"><<a href="mailto:daniel@zuster.org">daniel@zuster.org</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hey John,<br><br>I'll try to take a look at this soon. File a bug or email me if I seem<br>to forget. :)<br>
<br> - Daniel<br>
<div>
<div></div>
<div class="h5"><br>On Tue, Oct 13, 2009 at 5:19 PM, John Thompson<br><<a href="mailto:john.thompson.jtsoftware@gmail.com">john.thompson.jtsoftware@gmail.com</a>> wrote:<br>> In running the test Driver/ast.c on Windows:<br>
><br>> 2>  File "C:\Tools\llvm\utils\lit\TestRunner.py", line 79, in executeShCmd<br>> 2>    raise NotImplementedError,"Unsupported redirect: %r" % (r,)<br>> 2>NotImplementedError: Unsupported redirect: (('>>',),<br>
> 'C:\\Tools\\llvm\\tools\\clang\\test\\Driver\\Output\\ast.c.tmp')<br>> It appears that '>>' is not one of the conditions in the if/else series, and<br>> I don't know Python well enough to fix it.<br>
><br>> My guess of adding:<br>><br>>             elif r[0] == ('>>',):<br>>                 redirects[1] = [r[1], 'a', None]<br>> resulted in the redirected output being put at the front of the output file.<br>
> So if this is a quick fix for someone, I'd appreciate the help.<br>><br>> -John<br>> --<br>> John Thompson<br>> <a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br>
><br>><br></div></div>> _______________________________________________<br>> cfe-dev mailing list<br>> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
><br>><br></blockquote></div><br><br clear="all">
<div></div><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>