MantisBT - CMake | |||||||||||||||
| View Issue Details | |||||||||||||||
| 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. | ||||||||||||||
| Relationships |
| ||||||||||||||
| Attached Files | https://public.kitware.com/Bug/file/4063/CMakeLists.txt https://public.kitware.com/Bug/file/4064/test.cpp https://public.kitware.com/Bug/file/4065/long.log https://public.kitware.com/Bug/file/4066/short.log | ||||||||||||||
| 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 | ||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||