Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

Commit 0d78d4e

Browse files
committed
Use -race on amd64 only, -race is only supported by go test on amd64
1 parent b15cdc0 commit 0d78d4e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ sanitize:
6868
hooks/run_vet.sh
6969

7070
test-unit: clean sanitize build
71+
ifeq ($(ARCH),amd64)
7172
GOARCH=$(ARCH) go test --test.short -race ./... $(FLAGS)
73+
else
74+
GOARCH=$(ARCH) go test --test.short ./... $(FLAGS)
75+
endif
7276

7377
test-unit-cov: clean sanitize build
7478
hooks/coverage.sh

0 commit comments

Comments
 (0)