The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12490
======================================================================
Reported By: funkycoder
Assigned To:
======================================================================
Project: CMake
Issue ID: 12490
Category: CTest
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-10-04 13:55 EDT
Last Modified: 2011-10-04 13:55 EDT
======================================================================
Summary: Coverage counts 0 lines when path too long
Description:
If the path to the .gcov files to be generated becomes to long, there is no
error message, the LOC counters are just 0.
Steps to Reproduce:
Dropping the attached files in a directory like '/home/pascal/ctest-cov' and
running
mkdir d && cd d && cmake .. && make && make ExperimentalTest && make
ExperimentalCoverage
yields
Covered LOC: 2
Not covered LOC: 0
Total LOC: 2
But when using 'abcdefghijklmnopqrstuvwxyz01234567890123456789' instead of 'd',
it yields
Covered LOC: 0
Not covered LOC: 0
Total LOC: 0
Additional Information:
cmake version 2.8.5
ctest version 2.8.5
c++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
gcov (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-10-04 13:55 funkycoder New Issue
2011-10-04 13:55 funkycoder File Added: CMakeLists.txt
======================================================================
--
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