Unable to generate lcov test coverage reports (Out of memory error)
Ayush Tomar
ayushtomar at gmail.com
Sun Mar 13 01:15:35 GMT 2016
Hi all,
I was trying to generate lcov test coverage reports for xapian-core but got
an out of memory error:
$ lcov --capture --directory . --output-file xapian-core.info
Capturing coverage data from .
Found gcov version: 4.7.3
Scanning . for .gcda files ...
Found 270 data files in .
Processing bin/xapian-progsrv.gcda
Out of memory!
These are the steps I followed in xapian-core directory **(lcov.xapian.org
is down so I referred to xapian-core/HACKING and some online resources for
these steps):
$ ./configure CXXFLAGS='-g -O0 --coverage' CFLAGS='-g -O0 --coverage'
$ make check
$ lcov --capture --directory . --output-file xapian-core.info
which rendered the error mentioned above.
I did make sure that gcc and gcov have same versions. Can someone please
help me out? (I am generating these tests reports for getting familiar with
writing tests for use in Letor stabilization project for gsoc)
Regards,
Ayush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20160312/96ee4b6f/attachment.html>
More information about the Xapian-devel
mailing list