Comment 28 for bug 2029924

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

I can confirm that the lcov package in mantic-proposed has fixed the bug for me.

Test done:

1. Install lcov on a Mantic image
2. Execute "lcov -h" and confirmed the issue is still seen
3. Add mantic-proposed to apt sources.list
4. Install lcov from mantic-proposed
5. Execute "lcov -h" again to confirm the help is displayed.
6. get test.c from the testplan
7. build it with "cc test.c -fprofile-arcs -ftest-coverage -lgcov"
8. Execute ./a.out
9. Execute "lcov --base-directory . --directory . --capture --output-file i3.info"
10. Execute "genhtml -o html/ i3.info" to generate the html files
11. Open index.html in the browser to see the record.

Test result: the errors with lcov has been fixed.

Package tested:

$ apt-cache policy lcov
lcov:
  Installed: 2.0-1ubuntu0.2
  Candidate: 2.0-1ubuntu0.2
  Version table:
 *** 2.0-1ubuntu0.2 100
        100 http://us.archive.ubuntu.com/ubuntu mantic-proposed/universe amd64 Packages
        100 /var/lib/dpkg/status
     2.0-1 500
        500 http://us.archive.ubuntu.com/ubuntu mantic/universe amd64 Packages