Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.

Commit ba6c8fa

Browse files
author
Amey Bhide
committed
Ignore error from go clean -testcache
CI would fail with make test TESTREPORT=test-results/go/results.xml sed -e 's;@@gobin@@;/go/bin;g' < vault.hcl.in > vault.hcl mkdir -p test-results/go/ go clean -testcache go clean -testcache: open /tmp/go/cache/testexpire.txt: no such file or directory make: *** [Makefile:29: test] Error 1
1 parent acf06a1 commit ba6c8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev: build
2626
test: build
2727
@test -n "$$SPLUNK_ADDR" || { echo 'warning: SPLUNK_ADDR not set, creating new Splunk instances. This will be slow.'; }
2828
mkdir -p $(dir $(TESTREPORT))
29-
go clean -testcache
29+
go clean -testcache || true
3030
gotestsum --junitfile $(TESTREPORT) --format standard-verbose -- -cover -v ./...
3131

3232
.PHONY: lint

0 commit comments

Comments
 (0)