gergelypolonkai-web-jekyll/_drafts/measuring-coverage-with-cod...

675 B

layout title author
post Measuring code coverage with codecov for libtool projects
name email
Gergely Polonkai gergely@polonkai.eu

I have recently found [codecov][https://codecov.io/]; they offer free services for public GitHub projects. As I have recently started writing tests for my SWE-GLib project, I decided to give it a go. Things are not this easy if you use GNU Autotools and libtool, though…

The problem here is that these tools generate output under src/.libs/ (given that your sources are under src/) and gcov has hard times finding the coverage data files. Well, at least in the codecov environment, it works fine on my machine.