aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-10-09 02:28:14 +0700
committerShulhan <ms@kilabit.info>2021-10-09 02:35:44 +0700
commit5edaacb7f4652ce91c928cdfcacf85935faa9304 (patch)
tree7e4e43ae1fa5b2aee4ea6ee86ba12427d4f3d639 /Makefile
parentcfd80fef36a1fd71e6768120d60b8418b54185c2 (diff)
downloadpakakeh.go-5edaacb7f4652ce91c928cdfcacf85935faa9304.tar.xz
Makefile: add -failfast and remove -p=1 on go test flags
The -failfast option prevent the next test running when the current test is fail. The -p=1 limit the number of test running in parallel. Since we believe that all of test cases are indepents, we remove this field.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 280cccfa..6f9a56f9 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ $(COVER_HTML): $(COVER_OUT)
$(COVER_OUT): $(SRC) $(SRC_TEST)
export GORACE=history_size=7 && \
export CGO_ENABLED=1 && \
- go test -race -count=1 -p=1 -coverprofile=$@ ./...
+ go test -failfast -race -count=1 -coverprofile=$@ ./...
coverbrowse: $(COVER_HTML)
xdg-open $<