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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers