diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-15 14:44:01 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-15 14:44:01 +0700 |
| commit | dd4d5695064c37ebb479ee833d88c666bf8897c5 (patch) | |
| tree | a859914c89ed79702134adf8dcc5ccb38f827e38 | |
| parent | 9be132113a261309f73aaddbb83af898a88db385 (diff) | |
| download | spdxconv-dd4d5695064c37ebb479ee833d88c666bf8897c5.tar.xz | |
Makefile: add flag -failfast and -timeout to go test command
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,7 +11,9 @@ lint: .PHONY: test test: - CGO_ENABLED=1 go test -race -coverprofile=cover.out ./... + CGO_ENABLED=1 go test -coverprofile=cover.out -failfast -race \ + -timeout=1m \ + ./... go tool cover -html=cover.out -o cover.html .PHONY: pre-push |
