Notes |
|
(0011750)
|
Bill Hoffman
|
2008-05-08 11:14
|
|
Can you attach a results.tar file from CMake 2.4.8 that does work? |
|
|
(0011752)
|
Andreas Schneider.
|
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
|
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.
|
2008-05-08 12:26
|
|
This fixes the problem, great! |
|
|
(0011755)
|
Bill Hoffman
|
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 |
|