Skip to content

Commit

Permalink
Use cover.out
Browse files Browse the repository at this point in the history
  • Loading branch information
amogh09 committed Apr 21, 2023
1 parent 4d32e58 commit c8a68b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ..
Expand Down

0 comments on commit c8a68b0

Please sign in to comment.