Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

code coverage broken #338

Open
jodh-intel opened this issue Oct 21, 2016 · 5 comments
Open

code coverage broken #338

jodh-intel opened this issue Oct 21, 2016 · 5 comments

Comments

@jodh-intel
Copy link
Contributor

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).

@dlespiau dlespiau modified the milestone: Clear Containers 2.2 Nov 17, 2016
@dlespiau dlespiau modified the milestone: Clear Containers 2.2 Jan 12, 2017
@devimc devimc self-assigned this Feb 20, 2017
@devimc
Copy link
Contributor

devimc commented Feb 23, 2017

ummh seems like it was already fixed

@devimc
Copy link
Contributor

devimc commented Feb 23, 2017

@jodh-intel can I close it?

@jodh-intel
Copy link
Contributor Author

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

@jcvenegas
Copy link
Contributor

can we close this issue?

@jodh-intel
Copy link
Contributor Author

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

@egernst egernst added the CC 2.1 label Jul 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants