diff --git a/.gitignore b/.gitignore index 6828ef4..4ec61d1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /.waf* /build/ /test/tmp/ +/coverage/ diff --git a/Makefile b/Makefile index 254f3c5..ed83a3f 100644 --- a/Makefile +++ b/Makefile @@ -9,3 +9,5 @@ clean: test: ./waf build --targets tests ./build/tests + mkdir -p coverage + -(cd build; gcovr --object-directory=src/core --root=.. -o ../coverage/index.html --html --html-details --gcov-filter='.*src#core.*')