[CMake] getting the BuildID from cdash/ctest after a submit
David Cole
dlrdave at aol.com
Mon Sep 8 12:29:57 EDT 2014
No, but if you go to the "Tests Query" page, and set up a filter, you
can construct a URL for showing the failed tests with a given build
name and site name for the date in question... Almost as good.
Start here:
http://cdash.cscs.ch/queryTests.php?project=HPX&date=2014-09-08
(found from the project's dashboard page by clicking on "Dashboard >
Tests Query" drop down menu)
- Choose "Status" "is" "Failed"
- Click the "+" button to add another criteria
- Choose "Site" "is" "x86_64-boost-1550_debug"
- Click the "+" button to add another criteria
- Choose "Build name" "is" "intel-130"
- Click "Apply" to execute the filter
- Click "Create Hyperlink" to construct a URL you can come back to
see the filtered results without repeating all that effort.
Gives me a long URL that looks like this:
http://cdash.cscs.ch/queryTests.php?project=HPX&date=2014-09-08&filtercount=3&showfilters=1&filtercombine=and&field1=status/string&compare1=61&value1=Failed&field2=site/string&compare2=61&value2=x86_64-boost-1550_debug&field3=buildname/string&compare3=61&value3=intel-130
CDash could be modified to return the build id for a submit operation,
but only when it is processing submissions synchronously as it receives
them. In the asynchronous case, the build id is unknown until later, so
it would be impossible to return the value at submit time.
HTH,
David C.
More information about the CMake
mailing list