View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004971CMakeCTestpublic2007-05-06 10:072008-10-01 13:38
ReporterTrevor Kellaway 
Assigned ToBill Hoffman 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in VersionCMake-2-6 
Summary0004971: MSYS gcov fails if drive letter case differs
DescriptionWhen running coverage under MSYS CTest attempts to locate the source file by comparing paths, unfortunately under MSYS sometimes the drive letter can differ in case (I've yet to determine what in the environment causes this case difference), this causes gcov to fail to process the results.

The fix is to modify cmCTestCoverageHandler.cxx to perform a case insensitive test under Windows (see attached patch).
TagsNo tags attached.
Attached Filespatch file icon msys_gcov_case_bug_fix.patch [^] (744 bytes) 1969-12-31 19:00 [Show Content]

 Relationships
related to 0004972closedBill Hoffman Code coverage "Something went wrong" verbose mode reports wrong binary path. 
related to 0005668closedBill Hoffman CMake/CTest code coverage support doesn't work for MinGW gcc under Windows 

  Notes
(0007566)
Trevor Kellaway (reporter)
2007-05-06 10:11

Forgot to mention this is *always* failing for me currently.

Also, the supplied patch isn't very elegant, and could be done more portably than using _stricmp(), this was just to prove the fix.
(0008803)
Trevor Kellaway (reporter)
2007-09-02 14:07

To clarify, this bug seems to exist when using CMake's "MSYS Makefiles" generator.
(0012897)
David Cole (manager)
2008-07-31 12:22

Fixed in CVS HEAD:

/cvsroot/CMake/CMake/Source/CTest/cmCTestCoverageHandler.cxx,v <-- cmCTestCoverageHandler.cxx
new revision: 1.54; previous revision: 1.53
(0012898)
David Cole (manager)
2008-07-31 12:23

Bill, merge to CMake-2-6 after a night on the dashboards... Thanks

 Issue History
Date Modified Username Field Change
2007-08-31 11:28 Alex Neundorf Assigned To System Admin => David Cole
2007-09-02 14:07 Trevor Kellaway Note Added: 0008803
2008-07-31 12:22 David Cole Note Added: 0012897
2008-07-31 12:22 David Cole Status assigned => resolved
2008-07-31 12:22 David Cole Resolution open => fixed
2008-07-31 12:23 David Cole Note Added: 0012898
2008-07-31 12:23 David Cole Assigned To David Cole => Bill Hoffman
2008-07-31 12:23 David Cole Status resolved => assigned
2008-07-31 14:20 David Cole Relationship added related to 0004972
2008-10-01 13:38 Bill Hoffman Status assigned => closed
2008-10-01 13:38 Bill Hoffman Fixed in Version => CMake-2-6
2009-10-12 15:08 David Cole Relationship added related to 0005668


Copyright © 2000 - 2018 MantisBT Team