diff --git a/Makefile b/Makefile index 5e3c68ac599..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 .. @@ -439,6 +439,7 @@ clean: -rm -rf cover.out -rm -rf coverprofile.out -rm -rf coverprofile-init.out + -rm -rf coverprofile-ecs-agent.out # ecs-init & rpm cleanup -rm -f ecs-init.spec -rm -f amazon-ecs-init.spec