diff --git a/Makefile b/Makefile index 866c3e63..5ddc2e41 100644 --- a/Makefile +++ b/Makefile @@ -31,8 +31,9 @@ test: deps go fmt ./$$pkg ; \ go vet ./$$pkg ; \ megacheck ./$$pkg ; \ + touch $$pkg.profile ; \ go test -race ./$$pkg -coverprofile=$$pkg.profile -covermode=atomic; \ - tail -n +2 $$pkg.profile >> coverage.profile || true && rm -rf $$pkg.profile ; \ + tail -n +2 $$pkg.profile >> coverage.profile && rm -rf $$pkg.profile ; \ done html_coverage: test