Re: [CMake] Is it possible to run unit tests in separate processes?

2012-11-01 Thread Leif Walsh
I'd write a test that forks. Robert Deschambault robert.deschamba...@gmail.com writes: 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? Thanks. Bob -- Cheers, Leif -- Powered by

Re: [CMake] Is it possible to run unit tests in separate processes?

2012-11-01 Thread Matthew Woehlke
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

Re: [CMake] Is it possible to run unit tests in separate processes?

2012-11-01 Thread Matthew Woehlke
On 2012-11-01 18:28, Matthew Woehlke wrote: 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