[cmake-developers] [CMake 0012947]: ctest_coverage not submitting coverage with superbuild setups.
Mantis Bug Tracker
mantis at public.kitware.com
Wed Feb 8 19:27:45 EST 2012
The following issue has been SUBMITTED.
======================================================================
http://cmake.org/Bug/view.php?id=12947
======================================================================
Reported By: Matthew McCormick
Assigned To:
======================================================================
Project: CMake
Issue ID: 12947
Category: (No Category)
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-02-08 19:27 EST
Last Modified: 2012-02-08 19:27 EST
======================================================================
Summary: ctest_coverage not submitting coverage with
superbuild setups.
Description:
See
http://www.cdash.org/CDash/viewNotes.php?buildid=1989226
The "file( APPEND ${CTEST_BINARY_DIRECTORY}/CMakeFiles/TargetDirectories.txt"
... is required to get processing of the coverage for this superbuild project.
Otherwise, the ctest_coverage command results in a message that Coverage.xml is
not found, and the coverage submission does not occur.
Also, it is not intuitive that the path sent to "ctest_coverage( BUILD" is
${CTEST_BINARY_DIRECTORY} instead of ${CTEST_BINARY_DIRECTORY}/Farsight in this
case. That is, I would expect that the build directory for the project instead
of the build directory for the superbuild should be passed to "ctest_coverage(
BUILD" as is done with "ctest_build( BUILD". However,
${CTEST_BINARY_DIRECTORY}/Farsight is passed, it does not submit the correct
coverage results.
Steps to Reproduce:
Tested that the bug is present with CMake master per 2012-02-08.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-02-08 19:27 Matthew McCormickNew Issue
======================================================================
More information about the cmake-developers
mailing list