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:
parent
311ea33608
commit
e6ab556f0e
@ -1,5 +1,7 @@
|
|||||||
#darwin specific settings
|
#darwin specific settings
|
||||||
COMMANDS += containerd-shim
|
COMMANDS += containerd-shim
|
||||||
|
|
||||||
# supports go test -race
|
# amd64 supports go test -race
|
||||||
TESTFLAGS_RACE= -race
|
ifeq ("amd64", $(GOARCH))
|
||||||
|
TESTFLAGS_RACE= -race
|
||||||
|
endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#freebsd specific settings
|
#freebsd specific settings
|
||||||
COMMANDS += containerd-shim
|
COMMANDS += containerd-shim
|
||||||
|
|
||||||
# supports go test -race
|
# amd64 supports go test -race
|
||||||
TESTFLAGS_RACE= -race
|
ifeq ("amd64", $(GOARCH))
|
||||||
|
TESTFLAGS_RACE= -race
|
||||||
|
endif
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#linux specific settings
|
#linux specific settings
|
||||||
COMMANDS += containerd-shim
|
COMMANDS += containerd-shim
|
||||||
|
|
||||||
# supports go test -race
|
# amd64 supports go test -race
|
||||||
TESTFLAGS_RACE= -race
|
ifeq ("amd64", $(GOARCH))
|
||||||
|
TESTFLAGS_RACE= -race
|
||||||
|
endif
|
||||||
|
@ -5,5 +5,7 @@ FIX_PATH = $(subst /,\,$1)
|
|||||||
|
|
||||||
BINARY_SUFFIX=".exe"
|
BINARY_SUFFIX=".exe"
|
||||||
|
|
||||||
# supports go test -race
|
# amd64 supports go test -race
|
||||||
TESTFLAGS_RACE= -race
|
ifeq ("amd64", $(GOARCH))
|
||||||
|
TESTFLAGS_RACE= -race
|
||||||
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user