mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-30 19:01:25 +02:00
Since Go 1.10, they enabled vetting by default when running tests. This reveals issues in the thests which should be fixed upstream, but for now, disable vetting to let the tests pass again. An upstream issue[0] has been created. Untill then, apply a patch to the Makefile to disable vetting. [0]: https://github.com/junegunn/fzf/issues/1236
14 lines
404 B
Diff
14 lines
404 B
Diff
diff --git a/Makefile b/Makefile
|
|
index 5f68100828..123bfe9974 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -102,7 +102,7 @@ vendor: $(GLIDE_YAML)
|
|
touch $@
|
|
|
|
test: $(SOURCES) vendor
|
|
- SHELL=/bin/sh GOOS= go test -v -tags "$(TAGS)" \
|
|
+ SHELL=/bin/sh GOOS= go test -v -tags "$(TAGS)" -vet=off \
|
|
github.com/junegunn/fzf/src \
|
|
github.com/junegunn/fzf/src/algo \
|
|
github.com/junegunn/fzf/src/tui \
|