Re: [CMake] Make Timeout not be a failure

2019-06-20 Thread Kyle Edwards
On Thu, 2019-06-20 at 16:47 -0400, Donald MacQueen [|] wrote: > HI Kyle, > > Where are the -D and the -P switches of add_test documented? Those are not part of add_test(), they are arguments that get passed to the CMake executable. See for details: https://cmake.org/cmake/help/v3.15/manual/cmake

Re: [CMake] Make Timeout not be a failure

2019-06-20 Thread Donald MacQueen [|] via CMake
HI Kyle, Where are the -D and the -P switches of add_test documented? Thanks for the suggestion. On 6/20/2019 3:52 PM, Kyle Edwards wrote: On Thu, 2019-06-20 at 15:45 -0400, Donald MacQueen [|] via CMake wrote: I have a test where I start a program that I know will create some output that I c

Re: [CMake] Make Timeout not be a failure

2019-06-20 Thread Kyle Edwards
On Thu, 2019-06-20 at 15:45 -0400, Donald MacQueen [|] via CMake wrote: > I have a test where I start a program that I know will create some  > output that I can test. > > But I have no way to kill this program, so I let Ctest kill it with > a  > TIMEOUT. > > The next step greps the output to see

[CMake] Make Timeout not be a failure

2019-06-20 Thread Donald MacQueen [|] via CMake
I have a test where I start a program that I know will create some output that I can test. But I have no way to kill this program, so I let Ctest kill it with a TIMEOUT. The next step greps the output to see if it worked. So it would be nice if  PASS_REGULAR_EXPRESSION  could override TIMEOU