<div dir="ltr">Please post your CMakeLists.txt so we can see how you've got the fixtures and tests defined.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 27, 2017 at 2:49 AM, Neil Carlson <span dir="ltr"><<a href="mailto:neil.n.carlson@gmail.com" target="_blank">neil.n.carlson@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">I have a test code (think compiler regression test) that want to compile as a test, and if it compiles and links successfully, to go on to run as a subsequent test.  I found a thread from Sept that pointed to a method used in boost-cmake for the first compile test.  It moves execution of the compile/link from the make step to the ctest step, and works great.  I'm now using the FIXTURES_REQUIRED and FIXTURES_SETUP test properties to make the run test depend on the successful completion of the compile test, but this doesn't seem to be working properly.  It does order the tests so that the compile test is done first, However if it fails, ctest spews a long message for the run test detailing all the places it looked for the executable (not created because the compile/link test failed) but could not find.  It's as if ctest tries to set up the test before checking to see whether it should be run at all.  Am I doing something incorrect here?</div>
<br>--<br>
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/<wbr>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/<wbr>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/cmake</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div></div></div></div></div></div></div>
</div>