File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 1
1
# [ Unreleased]
2
2
3
3
* Verify git tag on release (#347 , @miry )
4
+ * Fix MacOS 12 tests for go17 with -race flag (#351 @strech )
4
5
5
6
# [ 2.3.0] - 2021-12-23
6
7
Original file line number Diff line number Diff line change
1
+ OS := $(shell uname -s)
2
+ GO_VERSION := $(shell go version | cut -f3 -d" ")
3
+ GO_MINOR_VERSION := $(shell echo $(GO_VERSION ) | cut -f2 -d.)
4
+ GO_PATCH_VERSION := $(shell echo $(GO_VERSION ) | cut -f3 -d. | sed "s/^\s* $$/0/")
5
+ MALLOC_ENV := $(shell [ $(OS ) = Darwin -a $(GO_MINOR_VERSION ) -eq 17 -a $(GO_PATCH_VERSION ) -lt 6 ] && echo "MallocNanoZone=0")
6
+
1
7
.PHONY : all
2
8
all : setup build test bench fmt lint
3
9
4
10
.PHONY : test
5
11
test :
6
- go test -v -race -timeout 1m ./...
12
+ # NOTE: https://github.com/golang/go/issues/49138
13
+ $(MALLOC_ENV ) go test -v -race -timeout 1m ./...
7
14
8
15
.PHONY : bench
9
16
bench :
You can’t perform that action at this time.
0 commit comments