ifeq ($(OS_detected),$(filter $(OS_detected),Linux FreeBSD Darwin Windows))
# Only supported on amd64
test-flags := -race
endif
endif
ifeq($(OS_detected),Linux)
ifeq($(GOHOSTOS),linux)
test-e2e := test-e2e
else
test-e2e := skip-test-e2e
@ -51,7 +34,7 @@ ifeq ($(GOOS), linux)
PROMU_CONF ?= .promu.yml
else
ifndef GOOS
ifeq ($(OS_detected), Linux)
ifeq ($(GOHOSTOS), Linux)
PROMU_CONF ?= .promu.yml
else
PROMU_CONF ?= .promu-cgo.yml
@ -74,8 +57,8 @@ endif
# 64bit -> 32bit mapping for cross-checking. At least for amd64/386, the 64bit CPU can execute 32bit code but not the other way around, so we don't support cross-testing upwards.