Re: [CMake] Defining dependent compile and run tests using CMake/CTest

2017-11-27 Thread Craig Scott
Merge request 1526 should fix this behavior. Would be great if you could try it out to confirm that it addresses your particular situation. On Mon, Nov 27, 2017 at 9:19 PM, Craig Scott wrote: > > > On Mon, Nov 27, 2017 at 10:06 AM, Ne

Re: [CMake] Defining dependent compile and run tests using CMake/CTest

2017-11-27 Thread Craig Scott
On Mon, Nov 27, 2017 at 10:06 AM, Neil Carlson wrote: > > On Sun, Nov 26, 2017 at 12:42 PM, Craig Scott > wrote: > >> Please post your CMakeLists.txt so we can see how you've got the fixtures >> and tests defined. >> > > Here's what I've got (I put the run test first to verify that the > reorder

Re: [CMake] Defining dependent compile and run tests using CMake/CTest

2017-11-26 Thread Neil Carlson
On Sun, Nov 26, 2017 at 12:42 PM, Craig Scott wrote: > Please post your CMakeLists.txt so we can see how you've got the fixtures > and tests defined. > Here's what I've got (I put the run test first to verify that the reordering takes place): add_test(NAME intel-20171126-run COMMAND intel-20171

Re: [CMake] Defining dependent compile and run tests using CMake/CTest

2017-11-26 Thread Craig Scott
Please post your CMakeLists.txt so we can see how you've got the fixtures and tests defined. On Mon, Nov 27, 2017 at 2:49 AM, Neil Carlson wrote: > 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

[CMake] Defining dependent compile and run tests using CMake/CTest

2017-11-26 Thread Neil Carlson
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 compil