Make make test
fail fast
Pass `-failfast` to the `go test` command, so that it immediately stops on test failure. This prevents the need to scroll back to see the actual error, at the expense of only seeing one failure at a time.
This commit is contained in:
parent
b219f9b1c2
commit
63a578688e
2
Makefile
2
Makefile
@ -240,7 +240,7 @@ swagger-ui:
|
|||||||
test:
|
test:
|
||||||
# Ensure the web-static directory exists, so that `web/web_app.go` can embed something.
|
# Ensure the web-static directory exists, so that `web/web_app.go` can embed something.
|
||||||
mkdir -p ${WEB_STATIC}
|
mkdir -p ${WEB_STATIC}
|
||||||
go test -short ./...
|
go test -short -failfast ./...
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@go clean -i -x
|
@go clean -i -x
|
||||||
|
Loading…
x
Reference in New Issue
Block a user