Makefile: always generate coverage.info
authorPaul Brossier <piem@piem.org>
Sun, 17 Sep 2017 20:55:53 +0000 (22:55 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 17 Sep 2017 20:55:53 +0000 (22:55 +0200)
Makefile

index 0f88058..7a9de9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -241,9 +241,9 @@ coverage: force_uninstall_python deps_python \
        clean_python clean distclean
        pip install -v -e .
        coverage run `which nose2`
+       lcov --capture --no-external --directory . --output-file build/coverage.info
 
 coverage_report: coverage
-       lcov --capture --no-external --directory . --output-file build/coverage.info
        genhtml build/coverage.info --output-directory lcov_html
        mkdir -p gcovr_html/
        gcovr -r . --html --html-details \