mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-01-07 17:47:14 +00:00
dovecot: Include cli-based tests in the coverage tests
Many areas of the dovecot library are tested via chamuyero scripts, but these were not being included in the coverage report. This patch extends the dovecot-auth-cli tests so that they are now coverage-aware.
This commit is contained in:
@@ -32,6 +32,10 @@ go test -tags coverage \
|
||||
# Will run in coverage mode due to $COVER_DIR being set.
|
||||
setsid -w ./test/run.sh
|
||||
|
||||
# dovecot tests are also coverage-aware.
|
||||
echo "dovecot cli ..."
|
||||
setsid -w ./cmd/dovecot-auth-cli/test.sh
|
||||
|
||||
# Merge all coverage output into a single file.
|
||||
# Ignore protocol buffer-generated files, as they are not relevant.
|
||||
go run "${UTILDIR}/gocovcat.go" .coverage/*.out \
|
||||
|
||||
Reference in New Issue
Block a user