[CMake] turning inverting dashboard interpretation of FATAL_ERRORs at cmake

Stephen Kelly steveire at gmail.com
Thu May 2 11:36:41 EDT 2013


Matthias Kretz wrote:

> On Thursday 25 April 2013 10:30:14 Bill Hoffman wrote:
>> On 4/25/2013 10:05 AM, Matthias Kretz wrote:
>> > I'm not sure we're talking about the same thing. I'm talking about
>> > ctest_configure - i.e. before build or tests. IIUC you're talking about
>> > regex matching at ctest_test?
>> 
>> But, if you have a FATAL_ERROR in the configure step, no build files
>> will be created and you won't even get a build of the software to test.
> 
> Which is the correct behavior. And I'd like my dashboard to tell me that
> it works. Without building or "testing". The test in this case consists of
> making sure that my cmake script aborts with the right error message.
> 

See the RunCMake tests in the cmake test suite.

Thanks,

Steve.




More information about the CMake mailing list