fix(hex): coverage

This commit is contained in:
2024-09-26 17:17:01 +03:00
parent 6d689cb9b3
commit b0e645679d
2 changed files with 22 additions and 20 deletions

View File

@ -84,8 +84,7 @@ docs:
cover: ${DIRS} ${patsubst %, ${BINDIR}/%${-g}-cov, ${TESTS}}
${patsubst %, ./${BINDIR}/%${-g}-cov;, ${TESTS}}
gcovr --html-nested cov/index.html
gcovr
gcovr --html-nested cov/index.html --txt --exclude-throw-branches
${OBJDIR}/%${-g}-cov.o: ${SRCDIR}/%.cpp ${INCDIR}/${LIB}/%.hpp
${CC} -o $@ -c $< -I${INCDIR} ${-l} ${CFLAGS} --coverage