sholsapp / gallocy

A distributed shared memory infrastructure.
27 stars 9 forks source link

Add gcov support #14

Closed sholsapp closed 8 years ago

sholsapp commented 8 years ago

https://coveralls.io/github/dgilland/pydash https://github.com/eddyxu/cpp-coveralls http://stackoverflow.com/questions/13116488/detailed-guide-on-using-gcov-with-cmake-cdash http://stackoverflow.com/questions/20780857/compiling-googletest-for-gcov

sholsapp commented 8 years ago

The ocr library does coverage testing and uses CMake to make it all happen. We should try and follow this library as an example of how to do coverage (and CMake in general).

https://github.com/whoshuu/cpr

sholsapp commented 8 years ago

This is done at this time, but doesn't implement automated coveralls integration. I'll leave that as a task for the future.

To generage coverage:

git clean -fxd
./project coverage
<open coverage/index.html>

:balloon: