cc-oci-runtime icon indicating copy to clipboard operation
cc-oci-runtime copied to clipboard

code coverage broken

Open jodh-intel opened this issue 9 years ago • 5 comments

Configuring like this:

./autogen.sh --enable-code-coverage

Results in an effectively empty code coverage report after make check (only /usr/* is included in the report).

jodh-intel avatar Oct 21 '16 08:10 jodh-intel

ummh seems like it was already fixed

devimc avatar Feb 23 '17 21:02 devimc

@jodh-intel can I close it?

devimc avatar Feb 23 '17 21:02 devimc

Hmm, oddly the reported problem is fixed as you say if you don't specify the cov tool. On my system that automatically uses lcov.

But listing the cov tool explicitly like this at configure time:

./autogen.sh --with-gcov=lcov --enable-code-coverage

... results in:

  LCOV   --capture cc-oci-runtime-2.1.0-coverage.info
geninfo: WARNING: no .da files found in . - skipping!
  LCOV   --remove /tmp/*
lcov: ERROR: no valid records found in tracefile cc-oci-runtime-2.1.0-coverage.info.tmp

jodh-intel avatar Feb 27 '17 09:02 jodh-intel

can we close this issue?

jcvenegas avatar May 03 '17 04:05 jcvenegas

Hi @jcvenegas - it's still a problem as shown above if you specify --with-gcov=lcov.

jodh-intel avatar May 03 '17 08:05 jodh-intel