mirror of
https://github.com/containerd/containerd.git
synced 2026-11-06 05:17:02 +00:00
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:
4 files changed
+16
-8
No files matched your search
+4
-2
@@ -1,5 +1,7 @@
|
||||
#darwin specific settings
|
||||
COMMANDS += containerd-shim
|
||||
|
||||
# supports go test -race
|
||||
TESTFLAGS_RACE= -race
|
||||
# amd64 supports go test -race
|
||||
ifeq ("amd64", $(GOARCH))
|
||||
TESTFLAGS_RACE= -race
|
||||
endif
|
||||
+4
-2
@@ -1,5 +1,7 @@
|
||||
#freebsd specific settings
|
||||
COMMANDS += containerd-shim
|
||||
|
||||
# supports go test -race
|
||||
TESTFLAGS_RACE= -race
|
||||
# amd64 supports go test -race
|
||||
ifeq ("amd64", $(GOARCH))
|
||||
TESTFLAGS_RACE= -race
|
||||
endif
|
||||
+4
-2
@@ -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
|
||||
+4
-2
@@ -5,5 +5,7 @@ FIX_PATH = $(subst /,\,$1)
|
||||
|
||||
BINARY_SUFFIX=".exe"
|
||||
|
||||
# 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