<div dir="ltr">I vote for the CMake approach.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 11:22 AM, Ben Boeckel <span dir="ltr"><<a href="mailto:ben.boeckel@kitware.com" target="_blank">ben.boeckel@kitware.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="">On Thu, Feb 13, 2014 at 10:55:10 -0700, David Gobbi wrote:<br>
> Actually, the check should probably be done in the CMakeLists.txt:<br>
><br>
> if(${PYTHON_VERSION} VERSION_GREATER "2.6")<br>
> vtk_add_test_python(TestImageJSONWriter.py NO_VALID)<br>
> endif()<br>
<br>
</div>I don't see why. We can certainly *run* the test on older Python<br>
versions, we just can't *validate* the test. In the absence of the<br>
latter, I'd take segfault discovery of a simple run test :) .<br>
<span class="HOEnZb"><font color="#888888"><br>
--Ben<br>
</font></span></blockquote></div><br></div>