Only use race flag on amd64
Race is only supported on amd64, so only run if GOARCH is amd64 Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#linux specific settings
|
||||
COMMANDS += containerd-shim
|
||||
|
||||
# supports go test -race
|
||||
TESTFLAGS_RACE= -race
|
||||
# amd64 supports go test -race
|
||||
ifeq ("amd64", $(GOARCH))
|
||||
TESTFLAGS_RACE= -race
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user