diff options
author | Martin Polden <mpolden@mpolden.no> | 2023-02-03 15:23:11 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2023-02-03 15:35:25 +0100 |
commit | 2aec4f9df47ddcce927d6a9605dcf261b4ef72de (patch) | |
tree | f14ac431aa622a061ed50c793fbfe091c4867098 /client | |
parent | e1e94812425a487069bf33f781bec987e9e49874 (diff) |
Simplify test target
Diffstat (limited to 'client')
-rw-r--r-- | client/go/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/go/Makefile b/client/go/Makefile index 6d9072eea27..60c831b9bd9 100644 --- a/client/go/Makefile +++ b/client/go/Makefile @@ -131,8 +131,7 @@ clean: rmdir -p $(BIN) $(SHARE)/man/man1 > /dev/null 2>&1 || true test: ci - mkdir -p mytmp - TMPDIR=`/bin/pwd`/mytmp go test ./... + mkdir -p $(CURDIR)/tmp && TMPDIR=$(CURDIR)/tmp 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; } |