<div dir="ltr"><div>I see what you mean. I'll try a clean build from the command line.<br><br></div>If this works, I think there still is a bug. If I turn off testing after an initial cmake, there should be no generated tests.<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 3:13 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@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 dir="ltr"><div>Mine was a fresh build tree.<br>ctest version 2.8.3<br>cmake version 2.8.3<br><br></div>I'll try with the latest cmake/ctest<br>
<br></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Thu, May 23, 2013 at 2:53 PM, Marcus D. Hanwell <span dir="ltr"><<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@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>On Thu, May 23, 2013 at 1:53 PM, Marcus D. Hanwell<br>
<<a href="mailto:marcus.hanwell@kitware.com" target="_blank">marcus.hanwell@kitware.com</a>> wrote:<br>
</div><div><div>> On Thu, May 23, 2013 at 1:11 PM, Bill Lorensen <<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>> wrote:<br>
>> Folks,<br>
>><br>
>> There have been a few user comments about VTK6 regarding testing.<br>
>><br>
>> I've started to look at the issues.<br>
>><br>
>> My first attempt. Build VTK6 with BUILD_TESTING Off and BUILD_EXAMPLES Off.<br>
>><br>
>> VTK6 builds find. But I run ctest and VTK6 tries to run over 700 tests. Only<br>
>> the header tests pass.<br>
>><br>
>> Why is VTK6 generating any tests if BUILD_TESTING is Off. I suspect some<br>
>> automatic magic is the culprit.<br>
>><br>
> I was going to take a look at this before you volunteered, I worked on<br>
> some of this logic and would be happy to dig into it a little if Brad<br>
> hasn't already figured it out ;-)<br>
><br>
</div></div>On further investigation I don't see the issues reported. The tests<br>
you see are likely an artifact of CTest and CMake getting out of sync<br>
Bill - if I do a default cmake run and then disable build testing then<br>
ctest will try to run tests that don't exist. If I run CMake as<br>
follows,<br>
<br>
cmake -G "Ninja" -DBUILD_TESTING:BOOL=OFF ~/src/VTK<br>
<br>
Then I see,<br>
<br>
$ ctest<br>
*********************************<br>
No test configuration file found!<br>
*********************************<br>
<br>
As expected. The version of VTK I built I also linked to from<br>
MongoChem, which uses the Qt and charting components in VTK with no<br>
issue. I will dig into whether this is some break in logic when the<br>
cache still has some testing settings hanging around from the initial<br>
run of CMake. Looking at the CMake code it looks like all of the<br>
testing calls are guarded correctly with if(BUILD_TESTING) ...<br>
<span><font color="#888888"><br>
Marcus<br>
</font></span></blockquote></div><br><br clear="all"><br></div></div><div class="im">-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>