1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-01-24 20:15:56 +00:00

chasquid-util: Include in coverage tests

This patch adds chasquid-util command-line to the coverage tests, so it is
easier to identify testing gaps.
This commit is contained in:
Alberto Bertogli
2024-03-06 23:00:08 +00:00
parent 96fe38c479
commit ac2b037f33
3 changed files with 9 additions and 5 deletions

View File

@@ -37,6 +37,9 @@ GOCOVERDIR="${COVER_DIR}/sh" setsid -w ./test/run.sh
echo "dovecot cli ..."
GOCOVERDIR="${COVER_DIR}/sh" setsid -w ./cmd/dovecot-auth-cli/test.sh
echo "chasquid-util ..."
GOCOVERDIR="${COVER_DIR}/sh" setsid -w ./cmd/chasquid-util/test.sh
# Merge all coverage output into a single file.
go tool covdata merge -i "${COVER_DIR}/go,${COVER_DIR}/sh" -o "${COVER_DIR}/all"
go tool covdata textfmt -i "${COVER_DIR}/all" -o "${COVER_DIR}/merged.out"