mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-18 14:47:03 +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:
7
cmd/dovecot-auth-cli/coverage_wrapper
Executable file
7
cmd/dovecot-auth-cli/coverage_wrapper
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Wrapper for dovecot-auth-cli to run when we build it in coverage mode.
|
||||
|
||||
exec ./dovecot-auth-cli.test -test.run ^TestRunMain$ \
|
||||
-test.coverprofile="$COVER_DIR/test-`date +%s.%N`.out" \
|
||||
"$@"
|
||||
Reference in New Issue
Block a user