On 2012-11-01 18:00, Robert Deschambault wrote:
Hello,
I have a situation where I would like to run a unit test that requires two
separate processes. Is it possible to set this up under CTest?
AFAIK, yes, if you can write a single process that spawns and waits on
your other processes. (If you're relying on something like python or a
UNIX shell being available, you could leverage that, with a script, as
the controller process.)
Basically, anything you can coerce into 'run a single process with some
arguments, wait on it to exit, and take the exit status and/or output
parsing as the test result' can be a CTest test.
--
Matthew
--
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