build: Do not swallow go test exit code
This commit is contained in:
parent
9a2063bf6f
commit
d60546e69d
|
@ -42,7 +42,7 @@ cov:
|
||||||
|
|
||||||
test: dev
|
test: dev
|
||||||
go test -tags "$(GOTAGS)" -i -run '^$$' ./...
|
go test -tags "$(GOTAGS)" -i -run '^$$' ./...
|
||||||
go test -tags "$(GOTAGS)" -v $(GOFILES) | tee test.log 2>&1
|
( set -o pipefail ; go test -tags "$(GOTAGS)" -v $(GOFILES) | tee test.log )
|
||||||
|
|
||||||
cover:
|
cover:
|
||||||
go test $(GOFILES) --cover
|
go test $(GOFILES) --cover
|
||||||
|
|
Loading…
Reference in New Issue