Skip to content

Commit 22d81f9

Browse files
committed
GOEXPERIMENT=nocoverageredesign
1 parent bbcbf9b commit 22d81f9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,19 +149,19 @@ test-ebs-csi:
149149
make -C ./ecs-agent/daemonimages/csidriver test
150150

151151
test: test-ebs-csi
152-
cd agent && GO111MODULE=on ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
152+
cd agent && GO111MODULE=on GOEXPERIMENT=nocoverageredesign ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
153153
go tool cover -func cover.out > coverprofile.out
154-
cd ecs-agent && GO111MODULE=on ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
154+
cd ecs-agent && GO111MODULE=on GOEXPERIMENT=nocoverageredesign ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
155155
go tool cover -func cover.out > coverprofile-ecs-agent.out
156156

157157
test-init:
158-
go test -count=1 -short -v -coverprofile cover.out ./ecs-init/...
158+
GOEXPERIMENT=nocoverageredesign go test -count=1 -short -v -coverprofile cover.out ./ecs-init/...
159159
go tool cover -func cover.out > coverprofile-init.out
160160

161161
test-silent: test-ebs-csi
162-
cd agent && GO111MODULE=on ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
162+
cd agent && GO111MODULE=on GOEXPERIMENT=nocoverageredesign ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
163163
go tool cover -func cover.out > coverprofile.out
164-
cd ecs-agent && GO111MODULE=on ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
164+
cd ecs-agent && GO111MODULE=on GOEXPERIMENT=nocoverageredesign ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
165165
go tool cover -func cover.out > coverprofile-ecs-agent.out
166166

167167
.PHONY: analyze-cover-profile

0 commit comments

Comments
 (0)