[CMake] many false positives in ctest error/warning reporting

Alexander Neundorf a.neundorf-work at gmx.net
Tue May 10 17:06:31 EDT 2011


On Tuesday 10 May 2011, Matthias Kretz wrote:
> Hi Alex!
> 
> On Tuesday 10 May 2011 21:47:41 Alexander Neundorf wrote:
> > On Tuesday 10 May 2011, Matthias Kretz wrote:
> > Are you using cmake >= 2.8 ?
> > If so, there the switch CTEST_USE_LAUNCHERS. If this is set in your
> > ctest- script, the output parsing works better. Are you already using
> > this ?
> 
> Yes, that looks like a very useful switch. I've never seen it before - but
> that's probably because I wrote the ctest stuff in cmake 2.6 times.
> 
> Isn't cmake able to figure out by itself that it's running in ctest
> submission mode? Then I'd consider to enable launchers per default for
> this. I can't see a reason why you don't want to have it.

If you use the KDECTestNightly.cmake script from here:
http://websvn.kde.org/trunk/quality/nightly-support/

it is automatically set to true (and it has zero KDE dependencies).

Alex


More information about the CMake mailing list