summaryrefslogtreecommitdiffstats
path: root/client/go/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-05-05 11:54:25 +0200
committerMartin Polden <mpolden@mpolden.no>2023-05-05 11:54:25 +0200
commitf50cc4e1e156a7208f30cda64f15b7dd0e7136d5 (patch)
tree152a966d09324b38da172280a2604c0eeae33bc6 /client/go/Makefile
parente0ed2a2f68f470a4348b6ee19c77b4d22eded8de (diff)
Do not override TMPDIR
This breaks test result caching for tests that write temporary files.
Diffstat (limited to 'client/go/Makefile')
-rw-r--r--client/go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/Makefile b/client/go/Makefile
index c70154eb247..d3f4351d62f 100644
--- a/client/go/Makefile
+++ b/client/go/Makefile
@@ -131,7 +131,7 @@ clean:
rmdir -p $(BIN) $(SHARE)/man/man1 > /dev/null 2>&1 || true
test: ci
- mkdir -p $(CURDIR)/tmp && TMPDIR=$(CURDIR)/tmp go test ./...
+ go test ./...
checkfmt:
@sh -c "test -z $$(gofmt -l .)" || { echo "one or more files need to be formatted: try make fmt to fix this automatically"; exit 1; }