<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I'm running a dashboard on a project that uses cmake in a non-traditional way. It's a collection of projects, each subdir is a standalone project with its own CMakeLists.txt. <br>
<br>There is a top level Makefile to glue it together. The Makefile enters each subdir and does a cmake configure then a make. Each subdir has its own list of tests. You can run "make test" at the top level, which invokes ctest in each subdir. So, my dashboard script looks like:<br>
</div><br></div><div>ctest_start(Nightly)<br></div><div>ctest_update()<br></div><div><br></div><div># this project doesn't have a traditional configure step, so skip configure<br></div># ctest_configure() <br><br># CTEST_BUILD_COMMAND is defined to invoke the top level Makefile<br>
</div>ctest_build()<br><br><div><div>ctest_test(BUILD top/subdir1)<br>ctest_test(BUILD top/subdir2)<br><br></div><div>ctest_submit()<br><br><br></div><div>I'm using cmake 2.8.7 on Ubuntu 12.04, and CDash 2.0.2. I've tried experimenting with APPEND, and doing a ctest_submit(PARTS Test) after each call to ctest_test. The result always seems to be that the last test results overwrite the previous when viewing the report on cdash.<br>
<br></div><div>If anyone has some advice for what to try or how to debug, please let me know! In the meantime, I might try putting together a simple example project to demonstrate my issue. Thanks!<br><br></div><div>I know CDash has subproject support, but I'd like to treat this as a single project so that all the test results are reported in the same row.<br>
</div><div><br>Pat<br></div></div></div>