aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 32b5363..ce2f58d 100644
--- a/Makefile
+++ b/Makefile
@@ -30,17 +30,19 @@ DOCKERFILE ?= Dockerfile
30 30
31STATICCHECK_IGNORE = 31STATICCHECK_IGNORE =
32 32
33ifeq ($(GOHOSTARCH),amd64)
34 # Only supported on amd64
35 test-flags := -race
36endif
37
38ifeq ($(OS),Windows_NT) 33ifeq ($(OS),Windows_NT)
39 OS_detected := Windows 34 OS_detected := Windows
40else 35else
41 OS_detected := $(shell uname -s) 36 OS_detected := $(shell uname -s)
42endif 37endif
43 38
39ifeq ($(GOHOSTARCH),amd64)
40 ifneq ($(OS_detected),SunOS)
41 # Only supported on amd64
42 test-flags := -race
43 endif
44endif
45
44ifeq ($(OS_detected), Linux) 46ifeq ($(OS_detected), Linux)
45 test-e2e := test-e2e 47 test-e2e := test-e2e
46else 48else