Makefile: Add test-parallel target
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
363b9797be
commit
8eb5eab13c
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -93,6 +93,9 @@ acceptance-firefox:
|
||||||
test-go:
|
test-go:
|
||||||
$(info Running all Go unit tests...)
|
$(info Running all Go unit tests...)
|
||||||
$(GOTEST) -parallel 1 -count 1 -cpu 1 -tags slow -timeout 20m ./pkg/... ./internal/...
|
$(GOTEST) -parallel 1 -count 1 -cpu 1 -tags slow -timeout 20m ./pkg/... ./internal/...
|
||||||
|
test-parallel:
|
||||||
|
$(info Running all Go unit tests in parallel mode...)
|
||||||
|
$(GOTEST) -parallel 2 -count 1 -cpu 2 -tags slow -timeout 20m ./pkg/... ./internal/...
|
||||||
test-verbose:
|
test-verbose:
|
||||||
$(info Running all Go unit tests in verbose mode...)
|
$(info Running all Go unit tests in verbose mode...)
|
||||||
$(GOTEST) -parallel 1 -count 1 -cpu 1 -tags slow -timeout 20m -v ./pkg/... ./internal/...
|
$(GOTEST) -parallel 1 -count 1 -cpu 1 -tags slow -timeout 20m -v ./pkg/... ./internal/...
|
||||||
|
|
Loading…
Reference in a new issue