File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -149,19 +149,19 @@ test-ebs-csi:
149
149
make -C ./ecs-agent/daemonimages/csidriver test
150
150
151
151
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 ..
153
153
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 ..
155
155
go tool cover -func cover.out > coverprofile-ecs-agent.out
156
156
157
157
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/...
159
159
go tool cover -func cover.out > coverprofile-init.out
160
160
161
161
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 ..
163
163
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 ..
165
165
go tool cover -func cover.out > coverprofile-ecs-agent.out
166
166
167
167
.PHONY : analyze-cover-profile
You can’t perform that action at this time.
0 commit comments