<div>Switching to the gnuwin32 grep solved a bunch of the problems I had way back when with the test on Windows, but there still seem to be a few issues left.</div>
<div> </div>
<div>The first one I encounter in the tests is in address-space-field1.c.</div>
<div> </div>
<div>It uses something like:  "grep" "addrspace\(1\)" ...</div>
<div> </div>
<div>but either Windows or the gnuwin32 grep is choking on the '\''s</div>
<div> </div>
<div>The test passes if I change it to:</div>
<div> </div>
<div>// RUN: grep addrspace(1) %t | count 9 &&<br>// RUN: grep addrspace(2) %t | count 9</div>
<div> </div>
<div>So, the question is, how to handle it?</div>
<div> </div>
<div>Could the python script be given smarts to convert it per platform></div>
<div> </div>
<div>It seems that using preprocessor conditionals in the actual test file won't work.</div>
<div> </div>
<div>Or maybe some sort of conditional in the annoation language, i.e.:</div>
<div> </div>
<div>// RUNWIN32: ...</div>
<div> </div>
<div>or</div>
<div> </div>
<div>// IF WIN32 RUN: ...</div>
<div> </div>
<div>-John</div>
<div></div><br>-- <br>John Thompson<br><a href="mailto:John.Thompson.JTSoftware@gmail.com">John.Thompson.JTSoftware@gmail.com</a><br><br>