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
|
lint: lint-check-deps
|
||||||
@echo "[gometalinter] linting sources"
|
@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 \
|
--disable-all \
|
||||||
--enable=deadcode \
|
--enable=deadcode \
|
||||||
--enable=errcheck \
|
--enable=errcheck \
|
||||||
@ -199,7 +199,7 @@ lint-check-deps:
|
|||||||
@GOPATH=$(GOPATH) PATH=$(BUILD_ABS_DIR)/bin:$(PATH) gometalinter.v1 --install >/dev/null
|
@GOPATH=$(GOPATH) PATH=$(BUILD_ABS_DIR)/bin:$(PATH) gometalinter.v1 --install >/dev/null
|
||||||
|
|
||||||
test:
|
test:
|
||||||
GOPATH=$(GOPATH) $(GO) test -cover gopheros/...
|
GOCACHE=off GOPATH=$(GOPATH) $(GO) test -cover gopheros/...
|
||||||
|
|
||||||
fuzz-deps:
|
fuzz-deps:
|
||||||
@mkdir -p $(BUILD_DIR)/fuzz
|
@mkdir -p $(BUILD_DIR)/fuzz
|
||||||
|
Loading…
x
Reference in New Issue
Block a user