Bugzilla – Bug 2799
update or remove lcov installation in utils/
Last modified: 2017-10-10 09:15:21 EDT
Our wscript has some hooks to enable gcov and print lcov report information, for code coverage analysis:
./waf configure --enable-gcov ...
The problem is that running lcov-report even on a modestly scoped build will immediately generate the following error (e.g. from a Fedora 26 machine):
Capturing coverage data from .
Found gcov version: 7.1.1
Scanning . for .gcda files ...
Found 389 data files in .
Out of memory!
However, running lcov at the command line (if lcov is installed somewhere else on the machine) will succeed:
$ lcov --capture --directory . --output-file coverage.info
$ genhtml coverage.info --output-directory out
Our version of lcov is 1.9 (which is reported to exhibit the above 'Out of memory!' problem). Upstream is now at 1.13. We need to either update our local patched version or abandon it and just run the system installed version.