[Cdash] Problem with cdash, subprojects and CTEST_USE_LAUNCHERS=TRUE?
Alexander Neundorf
neundorf at kde.org
Mon Aug 20 20:02:37 UTC 2012
On Monday 20 August 2012, David Cole wrote:
> On Mon, Aug 20, 2012 at 3:20 PM, Alexander Neundorf <neundorf at kde.org>wrote:
> > On Friday 17 August 2012, Alexander Neundorf wrote:
> > > On Friday 17 August 2012, David Cole wrote:
> > > > On Fri, Aug 17, 2012 at 2:17 PM, Alexander Neundorf
> >
> > <neundorf at kde.org>wrote:
> > > > > **
> > > > >
> > > > > On Friday 17 August 2012, David Cole wrote:
> > > > >
> > > > > ...
> > > > >
> > > > > > the -S script. Next, start adding printf debugging if necessary
> > > > > > to the
> > > > >
> > > > > code
> > > > >
> > > > > > where the return values of launcher-launched programs are being
> > > > >
> > > > > calculated.
> > > > >
> > > > > I guess cmCTestLaunch::IsError() etc ?
> > > > >
> > > > > Alex
> > > >
> > > > Unfortunately, it's been a long time since I looked at that
> > > > particular ctest code in such depth. I'd have to investigate just as
> > > > much as you
> >
> > to
> >
> > > > figure it out.
> > >
> > > Ok. I'm looking into it.
> > > This is what I get:
> > >
> > > ....
> > > gmake[2]: *** [Foo/Bar] Error 1
> > > gmake[1]: *** [Foo/CMakeFiles/Bar.dir/all] Error 2
> > > gmake: *** [all] Error 2
> > >
> > > Size of output: 112K
> > >
> > > Command exited with the value: 2
> > > MakeCommand:/usr/bin/gmake
> > > Error(s) when building project
> > >
> > > 0 Compiler errors
> > > 1 Compiler warnings
> > >
> > > SetCTestConfiguration:DropMethod:http
> > > ...
> > >
> > > I guess I'll find something...
> >
> > Found it.
> > The projects where it didn't work didn't have
> > include(CTest)
> > in their CMakeLists.txt
> > Including this file made it work.
> > I haven't figured out which exact setting is causing this, but I think it
> > would be good if ctest would error with if CTEST_USE_LAUNCHERS is TRUE
> > but CTest.cmake has not been included (or the appropriate variable been
> > set).
>
> That would be good. Do you have time to propose a patch for it? :-)
I'm looking at it right now...
I actually haven't figured out yet how that launchers feature works.
Should the string "launch" (or "--launch") appear somewhere in the buildtree
as soon as I include CTest ?
Alex
More information about the CDash
mailing list