View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012490 | CMake | CTest | public | 2011-10-04 13:55 | 2012-03-06 08:37 | ||||
Reporter | funkycoder | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | i386 | OS | Linux (Ubuntu) | OS Version | 3.0.0-12 | ||||
Product Version | CMake 2.8.5 | ||||||||
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | ||||||
Summary | 0012490: 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 | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | CMakeLists.txt [^] (279 bytes) 2011-10-04 13:55 [Show Content]
test.cpp [^] (37 bytes) 2011-10-04 13:56 long.log [^] (9,146 bytes) 2011-10-04 13:56 short.log [^] (8,112 bytes) 2011-10-04 13:56 | ||||||||
Relationships | |||||||||||
|
Relationships |
Notes | |
(0027521) funkycoder (reporter) 2011-10-04 13:57 |
long.log and short.log is the output of 'ctest --debug -VV -D ExperimentalCoverage' in long and short paths respectively. |
(0027532) David Cole (manager) 2011-10-05 17:32 |
I suspect the fix for 0011717 is the cause of this, and the other related bug... |
(0027616) David Cole (manager) 2011-10-22 11:18 |
Fix pushed to 'next': http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2f309cba455d0a946e935f66a53561ba64717faf [^] |
(0028828) David Cole (manager) 2012-03-06 08:37 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
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 | |
2011-10-04 13:56 | funkycoder | File Added: test.cpp | |
2011-10-04 13:56 | funkycoder | File Added: long.log | |
2011-10-04 13:56 | funkycoder | File Added: short.log | |
2011-10-04 13:57 | funkycoder | Note Added: 0027521 | |
2011-10-05 17:30 | David Cole | Relationship added | related to 0012415 |
2011-10-05 17:31 | David Cole | Assigned To | => David Cole |
2011-10-05 17:31 | David Cole | Status | new => assigned |
2011-10-05 17:32 | David Cole | Relationship added | related to 0011717 |
2011-10-05 17:32 | David Cole | Note Added: 0027532 | |
2011-10-21 12:20 | David Cole | Target Version | => CMake 2.8.7 |
2011-10-22 11:18 | David Cole | Note Added: 0027616 | |
2011-10-22 11:18 | David Cole | Status | assigned => resolved |
2011-10-22 11:18 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-10-22 11:18 | David Cole | Resolution | open => fixed |
2012-03-06 08:37 | David Cole | Note Added: 0028828 | |
2012-03-06 08:37 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |