I had to revert my gerrit patch that used tclsh. It failed on Windows because it needs a proper Wrapping/Tcl dir to add to auto_path. This is done with the -A arg on the add_test command.<div>I thought I could use<div>${VTK_TCL_HOME} but that does not include the Release or RelWithDebinfo or Debug subdir that the packages reside in on Windows.</div>
<div><br></div><div>I'm not sure how to get cmake to generate a proper path that has the cfg dir.</div><div><br></div><div>I tried:</div><div>${VTK_TCL_HOME}/${CMAKE_CFG_INTDIR} but on VS 2010 is generates:</div><div>
${VTK_TCL_HOME}/${Configuration}<br><div><div><br></div><div>I could list explicitly all cfg's but that does not seem desirable.</div><div><br></div><div><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 4:54 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, Feb 21, 2013 at 2:36 PM, Sean McBride <<a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a>> wrote:<br>
> On Thu, 21 Feb 2013 14:01:17 -0700, David Gobbi said:<br>
><br>
>>I'm not sure if this will help, but I ran "ctest -V -R TestSetGet"<br>
>>from crontab on my own machine (OS X 10.6) and it took<br>
>>15 seconds, exactly the same as when I run it from the shell.<br>
>>It produced identical output, too.<br>
><br>
> Could you try with launchd instead of cron?<br>
<br>
</div>Okay, with launchd it takes several minutes at least (it's still running).<br>
Attaching gdb tells me Tk_DrawChars() is where it spending its time.<br>
And even though I'm running ctest with the "-V" option, I'm not getting<br>
any output. So, yeah, I think that vtk is trying to write to the tk console<br>
instead of writing to stdout. So Bill's tclsh patch will hopefully fix that.<br>
<span class="HOEnZb"><font color="#888888"><br>
- David<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div></div></div>