On SunOS/ solaris/ SmartOS the go test flag of -rance isn't supported. (#762)
This commit is contained in:
parent
483f59d110
commit
84719ef59a
12
Makefile
12
Makefile
|
@ -30,17 +30,19 @@ DOCKERFILE ?= Dockerfile
|
||||||
|
|
||||||
STATICCHECK_IGNORE =
|
STATICCHECK_IGNORE =
|
||||||
|
|
||||||
ifeq ($(GOHOSTARCH),amd64)
|
|
||||||
# Only supported on amd64
|
|
||||||
test-flags := -race
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
OS_detected := Windows
|
OS_detected := Windows
|
||||||
else
|
else
|
||||||
OS_detected := $(shell uname -s)
|
OS_detected := $(shell uname -s)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(GOHOSTARCH),amd64)
|
||||||
|
ifneq ($(OS_detected),SunOS)
|
||||||
|
# Only supported on amd64
|
||||||
|
test-flags := -race
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(OS_detected), Linux)
|
ifeq ($(OS_detected), Linux)
|
||||||
test-e2e := test-e2e
|
test-e2e := test-e2e
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue