[Bug 38840] add coverage analysis to unit tests
matus.kukan at gmail.com
Sun Aug 5 06:02:06 PDT 2012
On 5 August 2012 13:11, John Smith <lbalbalba at gmail.com> wrote:
> LDFLAGS+='-lgcov' CFLAGS+='-fprofile-arcs -ftest-coverage'
> CXXFLAGS+='-fprofile-arcs -ftest-coverage' CPPFLAGS+='-fprofile-arcs
> -ftest-coverage' make
If you would google for undefined reference to `__gcov_merge_add'
You could get to
And try LDFLAGS+='-fprofile-arcs' instead of -lgcov which seems to help
More information about the LibreOffice