[CMake] turning inverting dashboard interpretation of FATAL_ERRORs at cmake
Matthias Kretz
kretz at kde.org
Fri Apr 26 04:35:56 EDT 2013
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.
> I thought you might have test cases that were complete projects. I
> don't think you can change this. It is not just the error in the
> output, it is that cmake returns an error code when run. Basically the
> configure command fails.
Yes. And if it wouldn't fail it would be an error. That's what I mean: I need
to invert the logic of this part.
Well, maybe it's better that those builds don't show on the dashboard at
all...
Cheers,
Matthias
--
________________________________________________________
Matthias Kretz (Germany) <><
http://kretzfamily.de/
More information about the CMake
mailing list