From 74543a921c062de8ddd031b3bcb64ee135f13616 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Fri, 4 Sep 2020 10:00:40 +0200 Subject: [PATCH] Problem: coverage report includes irrelevant files Solution: properly set file filter to only include files in src except tweetnacl --- builds/coverage/ci_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builds/coverage/ci_build.sh b/builds/coverage/ci_build.sh index da6dd732..686e6ece 100755 --- a/builds/coverage/ci_build.sh +++ b/builds/coverage/ci_build.sh @@ -29,4 +29,4 @@ fi pip install --user cpp-coveralls # Build, check, and install from local source -( cd ../..; ./autogen.sh && ./configure "${CONFIG_OPTS[@]}" && make VERBOSE=1 -j5 check && coveralls --exclude tests --exclude src/tweetnacl.c --exclude src/tweetnacl.h --build-root . --gcov-options '\-lp') || exit 1 +( cd ../..; ./autogen.sh && ./configure "${CONFIG_OPTS[@]}" && make VERBOSE=1 -j5 check && coveralls --include src --exclude src/tweetnacl.c --exclude src/tweetnacl.h --build-root . --gcov-options '\-lp') || exit 1