mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-17 14:37:02 +00:00
test: Improve layout of helper binaries
This patch moves the test helper binaries to a "one directory per helper" layout, and also makes them to be ignored in the coverage build instead of all builds. With this change, "go build ./..." will build all binaries including the test helpers, which helps make sure that module manage automation also considers them. In particular, this makes "go mod tidy" work fine.
This commit is contained in:
11
.gitignore
vendored
11
.gitignore
vendored
@@ -17,8 +17,15 @@ cmd/chasquid-util/chasquid-util
|
||||
cmd/smtp-check/smtp-check
|
||||
cmd/mda-lmtp/mda-lmtp
|
||||
cmd/dovecot-auth-cli/dovecot-auth-cli
|
||||
test/util/minidns
|
||||
test/util/fexp
|
||||
|
||||
# Test util binaries.
|
||||
test/util/conngen/conngen
|
||||
test/util/coverhtml/coverhtml
|
||||
test/util/fexp/fexp
|
||||
test/util/generate_cert/generate_cert
|
||||
test/util/gocovcat/gocovcat
|
||||
test/util/loadgen/loadgen
|
||||
test/util/minidns/minidns
|
||||
|
||||
# Test binary, generated during coverage tests.
|
||||
chasquid.test
|
||||
|
||||
Reference in New Issue
Block a user