diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -30,17 +30,19 @@ DOCKERFILE ?= Dockerfile | |||
30 | 30 | ||
31 | STATICCHECK_IGNORE = | 31 | STATICCHECK_IGNORE = |
32 | 32 | ||
33 | ifeq ($(GOHOSTARCH),amd64) | ||
34 | # Only supported on amd64 | ||
35 | test-flags := -race | ||
36 | endif | ||
37 | |||
38 | ifeq ($(OS),Windows_NT) | 33 | ifeq ($(OS),Windows_NT) |
39 | OS_detected := Windows | 34 | OS_detected := Windows |
40 | else | 35 | else |
41 | OS_detected := $(shell uname -s) | 36 | OS_detected := $(shell uname -s) |
42 | endif | 37 | endif |
43 | 38 | ||
39 | ifeq ($(GOHOSTARCH),amd64) | ||
40 | ifneq ($(OS_detected),SunOS) | ||
41 | # Only supported on amd64 | ||
42 | test-flags := -race | ||
43 | endif | ||
44 | endif | ||
45 | |||
44 | ifeq ($(OS_detected), Linux) | 46 | ifeq ($(OS_detected), Linux) |
45 | test-e2e := test-e2e | 47 | test-e2e := test-e2e |
46 | else | 48 | else |