View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012415 | CMake | CTest | public | 2011-08-20 06:58 | 2012-03-06 08:37 | ||||
Reporter | Andreas Schneider. | ||||||||
Assigned To | David Cole | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | Linux | OS | openSUSE | OS Version | 11.4 | ||||
Product Version | CMake 2.8.5 | ||||||||
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | ||||||
Summary | 0012415: CTest doesn't push all generated coverage files to CDash | ||||||||
Description | I have project with unit tests. I see that gcov files get created and I can see CTest creating all required files out of the gcov files in 'Testing/CoverageInfo' I just don't see it in CDash. Look e.g. at these to pushes: http://test.libssh.org/viewCoverage.php?buildid=4211 [^] http://test.libssh.org/viewCoverage.php?buildid=4197 [^] One shows pki_crypto.c one doesn't. I also miss a lot of other file where correct coverage files exists in 'Testing/CoverageInfo'. I've attached the 'Testing' directory as a tar.gz file. | ||||||||
Steps To Reproduce | git clone git://git.libssh.org/projects/libssh.git [^] cd libssh/build cmake -DWITH_TESTING=ON -DCMAKE_BUILD_TYPE=Profiling .. make Experimental | ||||||||
Additional Information | You need openssl, zlib and cmockery (for the unit tests). http://git.cryptomilk.org/users/asn/cmockery.git/ [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | testing.tar.gz [^] (940,025 bytes) 2011-08-20 06:58 | ||||||||
Relationships | |||||||||||
|
Relationships |
Notes | |
(0027385) David Cole (manager) 2011-09-06 16:19 |
Not enough time left to address this issue before the 2.8.6 release. Deferred until a future release. |
(0027493) David Cole (manager) 2011-09-29 17:33 |
Was this perhaps (it's the only thing I can find in the change logs that is coverage related...) caused by the addition of "-p" in the gcov flags for fixing 0011717 ...? Try reverting this commit on a local CMake build, and see if the problem still occurs with the ctest build with that reverted commit, if you can: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6e02a3b2bf43f4785bb21eb1cf8bbc26ac1abc12 [^] |
(0027494) David Cole (manager) 2011-09-29 17:47 |
The coverage file full path is limited to 255 characters in the CDash database schema: CREATE TABLE `coveragefile` ( `id` int(11) NOT NULL auto_increment, `fullpath` varchar(255) NOT NULL default '', Are your filenames longer than 255 characters? |
(0027496) Andreas Schneider. (developer) 2011-09-30 04:02 |
No, I don't have such long filenames. Look at the log files. All files and information is there. It just doesn't show up in CDash. |
(0027617) David Cole (manager) 2011-10-22 11:19 edited on: 2011-10-22 11:43 |
Potential fix pushed to 'next': http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2f309cba455d0a946e935f66a53561ba64717faf [^] Although, I wonder if there's some other problem processing these coverage files on the CDash side as well... I can build/submit to a local "svn trunk" instance of CDash just fine. But I can do so using either CMake 2.8.5 or the just-fixed version where I have the above-referenced commit in my source tree... |
(0028829) 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-08-20 06:58 | Andreas Schneider. | New Issue | |
2011-08-20 06:58 | Andreas Schneider. | Status | new => assigned |
2011-08-20 06:58 | Andreas Schneider. | Assigned To | => Brad King |
2011-08-20 06:58 | Andreas Schneider. | File Added: testing.tar.gz | |
2011-08-22 11:42 | Brad King | Assigned To | Brad King => David Cole |
2011-09-06 16:19 | David Cole | Note Added: 0027385 | |
2011-09-06 16:19 | David Cole | Target Version | CMake 2.8.6 => |
2011-09-29 17:33 | David Cole | Note Added: 0027493 | |
2011-09-29 17:47 | David Cole | Note Added: 0027494 | |
2011-09-30 04:02 | Andreas Schneider. | Note Added: 0027496 | |
2011-10-05 17:30 | David Cole | Relationship added | related to 0012490 |
2011-10-05 17:31 | David Cole | Relationship added | related to 0011717 |
2011-10-21 12:20 | David Cole | Target Version | => CMake 2.8.7 |
2011-10-22 11:19 | David Cole | Note Added: 0027617 | |
2011-10-22 11:19 | David Cole | Status | assigned => resolved |
2011-10-22 11:19 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-10-22 11:19 | David Cole | Resolution | open => fixed |
2011-10-22 11:43 | David Cole | Note Edited: 0027617 | |
2012-03-06 08:37 | David Cole | Note Added: 0028829 | |
2012-03-06 08:37 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |