<p>Thanks, Daniel.  I've been experimenting with the patches.<br> <br>I know the count.bat and not.bat scripts are experimental and that you only temporarily have the them using hard-coded paths for the Python executable and the Python scripts they call (i.e. g:\public\llvm\test\Scripts\not.py).<br>
 <br>I think the Python executable scripts could just rely on python being in the path.  (I use Python 2.6, so the path is different.)<br> <br>I'm not sure what the best solution is for the Python script path, however.  Some possibilities:<br>
 <br>1. Use an environment variable for the LLVM root (i.e. LLVM_ROOT) in the script.  Using environment variables, of course, would be unfortunate.<br> <br>2. Would setting PYTHONPATH to (prefix)\llvm\test\Scripts and just using a bare script file name in the batch files work?</p>

<p>3.  Have users edit the scripts manually.<br> <br>Or perhaps you have a better solution already.<br> <br>With Baptiste's clang-win32-path.patch and llvm-win32-path.patch files applied I'm down to 64 failures.<br>
 <br>I'm going to put back and try Baptiste's other script patches again, as my failures might have been due to not noticing the path issue with the count.bat and not.bat scripts.<br> <br>-John</p>
<div class="gmail_quote">On Mon, Aug 10, 2009 at 10:37 PM, 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">I attached the llvm and clang patches I have on my Windows box.<br>Currently I run the test runner by hand from a cmd prompt, like this:<br>
--<br>c:\python25\python ..\utils\test\MultiTestRunner.py --clang<br>g:\public\llvm\build_msvc<br>9\bin\Debug\clang.exe --clang-cc<br>g:\public\llvm\build_msvc9\bin\Debug\clang-cc.exe --no-sh --path<br>g:\public\llvm\test\Scripts --path g:\public\llvm\buil<br>
d_msvc9\bin\Debug -j 3 -v .<br>--<br>The last time I tried it, I had 98 failures.<br><font color="#888888"><br> - Daniel<br></font>
<div>
<div></div>
<div class="h5"><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br></div></div></blockquote></div>