[cmake-developers] [CMake 0012609]: Report when CTEST_COVERAGE_COMMAND is not set
Mantis Bug Tracker
mantis at public.kitware.com
Tue Dec 6 08:11:05 EST 2011
The following issue has been SUBMITTED.
======================================================================
http://cmake.org/Bug/view.php?id=12609
======================================================================
Reported By: Mathieu Malaterre
Assigned To:
======================================================================
Project: CMake
Issue ID: 12609
Category: CTest
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-12-06 08:11 EST
Last Modified: 2011-12-06 08:11 EST
======================================================================
Summary: Report when CTEST_COVERAGE_COMMAND is not set
Description:
When CTEST_COVERAGE_COMMAND is not set, ctest reports:
Problem running coverage on file: /home/ctest/Dashboards/My
Tests/openjpeg-b15-linux_gcc44_gcov-v1.5-debug/tests/CMakeFiles/comparePGXimages.dir/__/applications/common/opj_getopt.c.gcda
Command produced error: No such file or directory
.No such file or directory
The output is confusing, it would be nice if
cmCTestCoverageHandler::HandleGCovCoverage would test if
std::string gcovCommand
= this->CTest->GetCTestConfiguration("CoverageCommand");
is empty or not.
Additional Information:
When looking at the debug log, it is clear that gcov is missing:
Performing coverage: 1.32317e+09
* Run coverage for: /home/ctest/Dashboards/My
Tests/openjpeg-b15-linux_gcc44_gcov-v1.5-debug/applications/codec/CMakeFiles/image_to_j2k.dir
Command: "" -l -p -o "/home/ctest/Dashboards/My
Tests/openjpeg-b15-linux_gcc44_gcov-v1.5-debug/applications/codec/CMakeFiles/image_to_j2k.dir"
"/home/ctest/Dashboards/My
Tests/openjpeg-b15-linux_gcc44_gcov-v1.5-debug/applications/codec/CMakeFiles/image_to_j2k.dir/image_to_j2k.c.gcda"
Output:
Errors: No such file or directory
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-12-06 08:11 Mathieu MalaterreNew Issue
======================================================================
More information about the cmake-developers
mailing list