gcov parsing errors in gcovr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcovr |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is the output of make coverage-xml from compiz (but unity has the same issue too):
/usr/bin/cmake -P "/tmp/buildd/
(WARNING) Unrecognized GCOV output: '====='
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.
This is indicitive of a gcov output parse error.
Please report this to the gcovr developers.make[3]: Leaving directory `/tmp/buildd/
Changed in gcovr: | |
status: | New → Fix Released |
Happen to me also.
Seems due to using g++/gcc 4.7 (does not occurs with 4.6, which is currently the LTS version).
(I use gcovr on private sources (think "big hello world!"), it's unrelated to compiz)
lcov/geninfo has an easy patch (circa line 1640 : replace
if ($count eq "#####")
with
if ($count eq "#####" or $count eq "=====")
)
Something similar should be possible (probably arround line 395 of the gcovr script, on the 13 April 2012 release)
Technical details:
* system: Ubuntu 12.10, amd64,
* g++ 4.7.2,
* gcov 4.7.2