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:
|
||||
# Ensure the web-static directory exists, so that `web/web_app.go` can embed something.
|
||||
mkdir -p ${WEB_STATIC}
|
||||
go test -short ./...
|
||||
go test -short -failfast ./...
|
||||
|
||||
clean:
|
||||
@go clean -i -x
|
||||
|
Loading…
Reference in New Issue
Block a user