Skip to content

Commit c8a68b0

Browse files
committed
Use cover.out
1 parent 4d32e58 commit c8a68b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ test-init:
154154
go tool cover -func cover.out > coverprofile-init.out
155155

156156
test-ecs-agent:
157-
cd ecs-agent && GO111MODULE=on ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover-ecs-agent.out -timeout=120s ./... && cd ..
158-
go tool cover -func cover-ecs-agent.out > coverprofile-ecs-agent.out
157+
cd ecs-agent && GO111MODULE=on ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..
158+
go tool cover -func cover.out > coverprofile-ecs-agent.out
159159

160160
test-silent:
161161
cd agent && GO111MODULE=on ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..

0 commit comments

Comments
 (0)