diff options
| author | Shulhan <ms@kilabit.info> | 2021-10-09 02:28:14 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2021-10-09 02:35:44 +0700 |
| commit | 5edaacb7f4652ce91c928cdfcacf85935faa9304 (patch) | |
| tree | 7e4e43ae1fa5b2aee4ea6ee86ba12427d4f3d639 /Makefile | |
| parent | cfd80fef36a1fd71e6768120d60b8418b54185c2 (diff) | |
| download | pakakeh.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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 $< |
