Bugzilla – Bug 2799
update or remove lcov installation in utils/
Last modified: 2019-12-13 14:18:27 EST
Our wscript has some hooks to enable gcov and print lcov report information, for code coverage analysis: ./waf configure --enable-gcov ... ./waf build ./test.py ./waf --lcov-report 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 . Processing src/mobility/model/waypoint.cc.1.gcda 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.
This issue moved to GitLab.com: https://gitlab.com/nsnam/ns-3-dev/issues/119