coverage: Make genhtml not fail if sources are not found
authorTobias Brunner <tobias@strongswan.org>
Tue, 11 Mar 2014 13:19:59 +0000 (14:19 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 15 May 2014 09:28:08 +0000 (11:28 +0200)
For some reason the .y and .l files of the settings parser are searched in
the wrong directory.

Makefile.am

index 7e3c72b..0703abc 100644 (file)
@@ -55,7 +55,7 @@ cov-report:
                lcov -r $(top_builddir)/coverage/coverage.info '*/tests/*' \
                         -o $(top_builddir)/coverage/coverage.cleaned.info \
                         --rc lcov_branch_coverage=1
-               genhtml --num-spaces 4 --legend --branch-coverage \
+               genhtml --num-spaces 4 --legend --branch-coverage --ignore-errors source \
                                -t "$(PACKAGE_STRING)" \
                                -o $(top_builddir)/coverage/html \
                                -p `readlink -m $(abs_top_srcdir)`/src \