View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006988CMakeCMakepublic2008-05-08 09:052008-05-08 12:59
ReporterAndreas Schneider. 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0006988: CMake 2.6 and latest CDash version coverage results don't work
DescriptionThe Code Coverage report to CDash (svn rev. 925) of CMake 2.6 (final) is broken. It works just fine with 2.4.8. See

http://testing.csync.org/viewCoverage.php?buildid=341 [^]

Attached is a file named result.tar.gz which includes the generated xml files which got sent to the dashboard.

Let me know if I can provide more information.
TagsNo tags attached.
Attached Filesgz file icon results.tar.gz [^] (89,242 bytes) 2008-05-08 09:05
gz file icon result_cmake248.tar.gz [^] (85,861 bytes) 2008-05-08 11:35

 Relationships

  Notes
(0011750)
Bill Hoffman (manager)
2008-05-08 11:14

Can you attach a results.tar file from CMake 2.4.8 that does work?
(0011752)
Andreas Schneider. (developer)
2008-05-08 11:42

The problem is that the covered tag is set to false on 2.6

- <File Name="csync_config.c" FullPath="./src/csync_config.c" Covered="false">
+ <File Name="csync_config.c" FullPath="./src/csync_config.c" Covered="true">
(0011753)
Bill Hoffman (manager)
2008-05-08 12:02

I think I found it. Did you build cmake 2.6.0 from source? If yes, can you try this:

Change
Line 541 of Source/CTest/cmCTestCoverageHandler.cxx:

     << "\" Covered=\"" << (tested > 0?"true":"false") << "\">\n"
(0011754)
Andreas Schneider. (developer)
2008-05-08 12:26

This fixes the problem, great!
(0011755)
Bill Hoffman (manager)
2008-05-08 12:58

Thanks, I have made a commit, fix will be in 2.6.1.

$ cvs commit -m "BUG: 0006988 do not set coverage to false when it is not" cmCTestCoverageHandler.cxx
/cvsroot/CMake/CMake/Source/CTest/cmCTestCoverageHandler.cxx,v <-- cmCTestCoverageHandler.cxx
new revision: 1.52; previous revision: 1.51

 Issue History
Date Modified Username Field Change
2008-05-08 09:05 Andreas Schneider. New Issue
2008-05-08 09:05 Andreas Schneider. File Added: results.tar.gz
2008-05-08 11:14 Bill Hoffman Note Added: 0011750
2008-05-08 11:14 Bill Hoffman Status new => assigned
2008-05-08 11:14 Bill Hoffman Assigned To => Bill Hoffman
2008-05-08 11:35 Andreas Schneider. File Added: result_cmake248.tar.gz
2008-05-08 11:42 Andreas Schneider. Note Added: 0011752
2008-05-08 12:02 Bill Hoffman Note Added: 0011753
2008-05-08 12:26 Andreas Schneider. Note Added: 0011754
2008-05-08 12:58 Bill Hoffman Note Added: 0011755
2008-05-08 12:59 Bill Hoffman Status assigned => closed
2008-05-08 12:59 Bill Hoffman Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team