[Cdash] Configure log appending

David Cole david.cole at kitware.com
Mon Jan 30 13:27:59 UTC 2012


On Sat, Jan 28, 2012 at 10:48 PM, Tim Gallagher
<tim.gallagher at gatech.edu> wrote:
> Hi,
>
> I have the following loop in a CTest script:
>
>    foreach(TESTCASE ${LESLIE_AVAILABLE_TESTCASES})
>      set(CTEST_CONFIGURE_COMMAND "./setup.py -t ${TESTCASE} '{${LESLIE_CONFIGURE_DICT_BASE}}'")
>      ctest_configure(BUILD "${CTEST_REPO_DIRECTORY}" APPEND)
>      set(CTEST_BUILD_COMMAND "./setup.py -t ${TESTCASE} '{${LESLIE_BUILD_DICT_BASE}}'")
>      ctest_build(BUILD "${CTEST_REPO_DIRECTORY}" APPEND)
>      ctest_submit(PARTS Configure Build)
>    endforeach()
>
> The Build logs are getting correctly uploaded and appended, but the Configure logs are overwriting instead of appending.
>
> Any idea what is causing that?
>
> Tim
> _______________________________________________
> Cdash mailing list
> Cdash at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/cdash


The typical scenario involving a loop like this where all of the loop
iterations use the same build name is on a subproject-based dashboard,
where each iteration of the loop submits to a different subproject.

In CDash's source tree, the configure handler has code like this:

      if($this->Configure->Exists())
        {
        $this->Configure->Delete();
        }
      $this->Configure->Insert();

So, as you can see, a configure entry for a build row only supports
showing the result of a single configure call, regardless of the value
of the APPEND flag.

For now, with existing CDash, if you want multiple configure results
to show up, you'll have to do multiple builds (call ctest_start in the
loop with a different build name for each loop iteration) or switch to
a subproject-based build, where each loop iteration uses a different
subproject value.


HTH,
David



More information about the CDash mailing list