cdash

Detailed guide on using gcov with CMake/CDash?

回眸只為那壹抹淺笑 提交于 2019-12-17 10:16:01
问题 I'm using CMake with my project and set up a cdash server for continuous/nightly building. Everything works well and by setting up a crontab, we have hourly/nightly build/test results uploaded to our cdash server automatically. My next step is to add test coverage report to the build. I find the document here http://www.cmake.org/Wiki/CTest:Coverage but frankly it's a bit far from a practical guide. Currently I've added the required flag (instead of -fprofile-arcs -ftest-coverage , I find -

CTest build ID not set

六眼飞鱼酱① 提交于 2019-12-12 10:15:04
问题 I have a CDash configured to accept posts for automatic builds and tests. However, when any system attempts to post results to the CDash, the following error is produced. The result is that each result gets posted four times (presumably the original posting attempt plus the three retries). Can anyone give me a hint as to what sets this mysterious build ID? I found some code that seems to produce a similar error, but still no lead on what might be happening. Build::GetNumberOfErrors(): BuildId

Detailed guide on using gcov with CMake/CDash?

我们两清 提交于 2019-11-27 11:02:02
I'm using CMake with my project and set up a cdash server for continuous/nightly building. Everything works well and by setting up a crontab, we have hourly/nightly build/test results uploaded to our cdash server automatically. My next step is to add test coverage report to the build. I find the document here http://www.cmake.org/Wiki/CTest:Coverage but frankly it's a bit far from a practical guide. Currently I've added the required flag (instead of -fprofile-arcs -ftest-coverage , I find --coverage better), the compilation process generates .gcno files. But then I'm stuck. The command make