Hi all,

I would need to make sure one executable is running before running one test added by CTest.

I would like to do something like that:

execute_process( COMMAND ${my_executable} )
add_test( MyOwnTest foo )

except that my_executable would be triggered, just before MyOwnTest starts.

Is it possible to do something like that with CMake?

or to do something like

add_test( MyOwnTest
    COMMAND ${my_executable}
    COMMAND foo )

?


Arnaud

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to