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:
parent
e67e2644e2
commit
8b3e64035e
4
Makefile
4
Makefile
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user