mirror of
https://blitiri.com.ar/repos/chasquid
synced 2025-12-21 15:17:01 +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:
@@ -60,7 +60,7 @@ ENV GOPATH=
|
||||
RUN go get -v ${GO_GET_ARGS} ./... && go mod download
|
||||
|
||||
# Build the minidns server, which will be run from within the entrypoint.
|
||||
RUN go build -o /tmp/minidns ./test/util/minidns.go
|
||||
RUN go build -o /tmp/minidns ./test/util/minidns/minidns.go
|
||||
USER root
|
||||
|
||||
# Custom entry point, which uses our own DNS server.
|
||||
|
||||
Reference in New Issue
Block a user