OK ... I deleted the build directory and ran CMake again and things are much improved. See: <a href="http://open.cdash.org/viewTest.php?onlyfailed&buildid=2843128">http://open.cdash.org/viewTest.php?onlyfailed&buildid=2843128</a><br>
<br>However:<div><div>vtkpython TestProjectedTerrainPath.py </div><div>Traceback (most recent call last):</div><div>  File "TestProjectedTerrainPath.py", line 15, in <module></div><div>    lo = lindex(demReader.GetOutput().GetScalarRange(),0)</div>
<div>NameError: name 'lindex' is not defined</div><div><br></div><div>yet:</div><div><br></div><div><div>ctest -R TestProjectedTerrainPath</div><div>Test project /home/amaclean/Code/Kitware/build/VTK</div><div>    Start 674: vtkFiltersHybridPython-TestProjectedTerrainPath</div>
<div>1/2 Test #674: vtkFiltersHybridPython-TestProjectedTerrainPath ...   Passed    2.24 sec</div><div>    Start 693: vtkFiltersHybridTcl-TestProjectedTerrainPath</div><div>2/2 Test #693: vtkFiltersHybridTcl-TestProjectedTerrainPath ......   Passed    1.69 sec</div>
<div><br></div><div>100% tests passed, 0 tests failed out of 2</div></div><div><br></div><div>Could someone please point me to an explanation as to why ctest works, I would have expected a fail at line 15 because of lindex(). My concern here is that if it is Python code you would reasonably expect just Python code lindex() is certainly not that.</div>
<div>I don't understand how these Python equivalents of the Tcl names are being brought in by CTest.</div><div><br></div><div><br></div><div>Regards</div><div>   Andrew</div><div><br></div><div class="gmail_quote">On Tue, Mar 12, 2013 at 9:49 AM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Note that these failures are only on my machine(s) and not the dashboard machines.<br><div><br></div>I did an experimental run on my machine expecting a relatively green dashboard but got some 200 failures. See: <a href="http://open.cdash.org/viewTest.php?onlyfailed&buildid=2841988" target="_blank">http://open.cdash.org/viewTest.php?onlyfailed&buildid=2841988</a><div>

<br></div><div><div>The first class of failures relate to remanent TCL code in Python tests.</div><div>It seems that some TCL code is present e.g look at vtkCommonComputationalGeometryPython-CSpline or vtkFiltersHybridPython-TestProjectedTerrainPath. So I deleted the source and did a fresh checkout of the master, and the code is the same.</div>

<div>I am wondering why these TCL errors have reappeared in the python code that was translated from TCL and why it is only appearing on my machines.</div><div><br></div><div>A second failure point is that some baseline images are missing. For example the test vtkCommonComputationalGeometryPython-TestParametricFunctions is looking for VTKData/TestParametricFunctions.png but this is in VTKData/Baseline/Graphics</div>

<div><br></div><div>I have been away so I may have missed some change.</div><div><br></div><div>I have confirmed this on three of my machines.</div><div><br></div><div><br></div><div>Regards</div><span class="HOEnZb"><font color="#888888"><div>
   Andrew</div><div>
<br></div><div><br><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________
</div>