MantisBT - CMake |
View Issue Details |
|
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. |
Relationships | related to | 0011717 | closed | David Cole | gcov: handling the same file name in different directories | related to | 0012490 | closed | David Cole | Coverage counts 0 lines when path too long |
|
Attached Files | testing.tar.gz (940,025) 2011-08-20 06:58 https://public.kitware.com/Bug/file/4014/testing.tar.gz |
|
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 | bug_revision_view_page.php?bugnote_id=27617#r439 |
2012-03-06 08:37 | David Cole | Note Added: 0028829 | |
2012-03-06 08:37 | David Cole | Status | resolved => closed |
Notes |
|
(0027385)
|
David Cole
|
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
|
2011-09-29 17:33
|
|
|
|
(0027494)
|
David Cole
|
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.
|
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
|
2011-10-22 11:19
(edited on: 2011-10-22 11:43) |
|
|
|
(0028829)
|
David Cole
|
2012-03-06 08:37
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|