[Cdash] Problem with cdash, subprojects and CTEST_USE_LAUNCHERS=TRUE ?
David Cole
david.cole at kitware.com
Wed Aug 8 19:11:36 UTC 2012
Are the subprojects built via ExternalProject_Add calls?
If so, and the default make command contains the "-i" flag, then
perhaps make will return no error even if there are build errors. And
if the make does not return an error, then ctest with launchers will
not report an error. (Whereas without launchers, it will simply scrape
the output looking for matches to the known set of error regular
expressions...)
I'm pretty sure this is the case that we've seen before with a
subproject-based dashboard using a Super Build ExternalProject
approach...
The solution is to either avoid using the launchers for such project
dashboards, or come up with a way to make "make" return errors when
there are build errors.
If I am off base here, perhaps you could give steps to repro so I can
take a closer look?
Thx, (and hope this helps),
David C.
On Mon, Aug 6, 2012 at 3:33 PM, Alexander Neundorf <neundorf at kde.org> wrote:
> Hi,
>
> at work today we had a problem with a cmake-based project and using cdash
> subprojects.
>
> There were errors in the build, but the dashboard (and the generated
> Build.xml) showed no errors.
>
> It started working when setting CTEST_USE_LAUNCHERS to FALSE.
>
> Is this a known issue, or should subprojects also work with
> CTEST_USE_LAUNCHERS set to TRUE ?
>
> If so, any ideas what the problem could, why the build errors don't end up
> in Build.xml ?
>
> Thanks
>
> Alex
More information about the CDash
mailing list