1
0
mirror of https://github.com/taigrr/gopher-os synced 2025-01-18 04:43:13 -08:00

makefile: use GOCACHE=off when running tests

This turns off the test caching feature that sneaked into recent Go
versions
This commit is contained in:
Achilleas Anagnostopoulos 2018-05-28 08:11:01 +01:00
parent e67e2644e2
commit 8b3e64035e

View File

@ -174,7 +174,7 @@ clean:
lint: lint-check-deps
@echo "[gometalinter] linting sources"
@GOPATH=$(GOPATH) PATH=$(BUILD_ABS_DIR)/bin:$(PATH) gometalinter.v1 \
@GOCACHE=off GOPATH=$(GOPATH) PATH=$(BUILD_ABS_DIR)/bin:$(PATH) gometalinter.v1 \
--disable-all \
--enable=deadcode \
--enable=errcheck \
@ -199,7 +199,7 @@ lint-check-deps:
@GOPATH=$(GOPATH) PATH=$(BUILD_ABS_DIR)/bin:$(PATH) gometalinter.v1 --install >/dev/null
test:
GOPATH=$(GOPATH) $(GO) test -cover gopheros/...
GOCACHE=off GOPATH=$(GOPATH) $(GO) test -cover gopheros/...
fuzz-deps:
@mkdir -p $(BUILD_DIR)/fuzz