MantisBT - CMake
View Issue Details
0013121CMakeCTestpublic2012-04-11 11:292013-04-17 08:54
nabl64 
David Cole 
normalminoralways
closedfixed 
CMake 2.8.7 
CMake 2.8.9CMake 2.8.9 
0013121: CTestCoverage Unknown gcov output line in gcc 4.7
After upgrading to gcc 4.7

Test coverage output a tone of similar line to:
Unknown gcov output line: [Creating 'TestExtrapolateCellFluid.cpp.gcda##cmath.gcov']

Used last cmake and gcov:
cmake version 2.8.7.20120411-g621c0
gcov (GCC) 4.7.0 20120324 (prerelease)

It seems that gcov as changed is format for output from
"^(.*):creating [`'](.*\\.gcov)'"
To
"Creating [`'](.*\\.gcov)'"

I fixed for myself as quickfix line 776 of Source / CTest / cmCTestCoverageHandler.cxx and changed the corresponding match to 1 instead of 2.

It then worked but with somes warning because of new text in gcov.
 
No tags attached.
related to 0013657closed David Cole Fix for bug 0013121 not working 
Issue History
2012-04-11 11:29nabl64New Issue
2012-05-03 11:57David ColeAssigned To => David Cole
2012-05-03 11:57David ColeStatusnew => assigned
2012-05-03 17:42David ColeNote Added: 0029395
2012-05-03 17:42David ColeStatusassigned => resolved
2012-05-03 17:42David ColeFixed in Version => CMake 2.8.9
2012-05-03 17:42David ColeResolutionopen => fixed
2012-08-09 16:57David ColeTarget Version => CMake 2.8.9
2012-11-06 01:12Eric NOULARDRelationship addedrelated to 0013657
2013-04-17 08:54Robert MaynardNote Added: 0032861
2013-04-17 08:54Robert MaynardStatusresolved => closed

Notes
(0029395)
David Cole   
2012-05-03 17:42   
Fix pushed to 'next':

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56f499dcef320b2644431223bd167de521fdf068 [^]
(0032861)
Robert Maynard   
2013-04-17 08:54   
Closing resolved issues that have not been updated in more than 4 months.