ci: coverage: skip sql.[y.l] files
@@ -67,8 +67,8 @@ if [[ "$FLB_OPT" =~ COVERAGE ]]
then
mkdir -p coverage
find lib -name "*.gcda" -o -name "*.gcno" -print0 | xargs -0 -r rm
- gcovr -p -r .. . | cut -c1-100
- gcovr --html --html-details -p -r .. -o coverage/index.html .
+ gcovr -e "build/sql.l" -e "build/sql.y" -p -r .. . | cut -c1-100
+ gcovr -e "build/sql.l" -e "build/sql.y" --html --html-details -p -r .. -o coverage/index.html .
echo
echo "See coverage/index.html for code-coverage details"
fi
