<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Sun, Nov 26, 2017 at 12:42 PM, Craig Scott <span dir="ltr"><<a href="mailto:craig.scott@crascit.com" target="_blank">craig.scott@crascit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Please post your CMakeLists.txt so we can see how you've got the fixtures and tests defined.</div></blockquote><div><br></div><div>Here's what I've got (I put the run test first to verify that the reordering takes place):</div><div><br></div><div>add_test(NAME intel-20171126-run COMMAND intel-20171126)</div><div>set_tests_properties(intel-20171126-run PROPERTIES PASS_REGULAR_EXPRESSION "pass")</div><div>set_tests_properties(intel-20171126-run PROPERTIES FIXTURES_REQUIRED foo)</div><div><br></div><div>add_executable(intel-20171126 EXCLUDE_FROM_ALL intel-20171126.f90)<br></div><div><div>add_test(NAME intel-20171126</div><div>    COMMAND ${CMAKE_COMMAND} --build . --target intel-20171126 --config $<CONFIGURATION></div><div>    WORKING_DIRECTORY ${CMAKE_BINARY_DIR})</div><div>set_tests_properties(intel-20171126 PROPERTIES FIXTURES_SETUP foo)</div></div><div><br></div><div>After posting my question, I manually created the "executable" ('touch intel-20171126`)</div><div>and re-ran ctest.  Sure enough, that time I didn't get the long message spew about</div><div>being able to find the executable, but instead a 1-line message, which is what I had</div><div>expected to see originally</div><div><br></div><div><div>      Start  2: intel-20171126</div><div> 1/13 Test  #2: intel-20171126 ...................***Failed    0.15 sec</div><div>      Start  1: intel-20171126-run</div><div>Failed test dependencies: intel-20171126</div><div> 2/13 Test  #1: intel-20171126-run ...............***Not Run   0.00 sec</div></div><div><br></div></div></div></div>