diff --git a/Makefile b/Makefile index 0a4e1ce8689..0e3fa0b7482 100644 --- a/Makefile +++ b/Makefile @@ -154,8 +154,8 @@ test-init: go tool cover -func cover.out > coverprofile-init.out test-ecs-agent: - cd ecs-agent && GO111MODULE=on ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover-ecs-agent.out -timeout=120s ./... && cd .. - go tool cover -func cover-ecs-agent.out > coverprofile-ecs-agent.out + cd ecs-agent && GO111MODULE=on ${GOTEST} ${VERBOSE} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd .. + go tool cover -func cover.out > coverprofile-ecs-agent.out test-silent: cd agent && GO111MODULE=on ${GOTEST} -tags unit -mod vendor -coverprofile ../cover.out -timeout=120s ./... && cd ..