Hi, The attached patch uses lcov to display the code coverage of the test suite. It uses ax_code_coverage.m4 which assumes automake, so this patch modifies it to be able to work. This is a preliminary patch to demo the functionality, as I haven't gone through all the automake- related variables.
regards, Nikos
Nikos Mavrogiannopoulos nmav@redhat.com writes:
The attached patch uses lcov to display the code coverage of the test suite.
Nice initiative. Some comments and questions:
Last time I used gcov, all needed was adding -ftest-coverage -fprofile-arcs to CFLAGS. So this seems somewhat over-engineered...
Does one really have to use -O0?
Some or all new Makefile substitutions should probably go in config.make.in, not Makefile.in.
I have to read up on how these things work.
Regards, /Niels
nettle-bugs@lists.lysator.liu.se