aports/community/chezmoi/test-increase-timeout.patch
2025-05-23 10:29:30 +00:00

18 lines
711 B
Diff

On loongarch64 and riscv64, the internal/cmd tests timeout. Increase the timeout
to give those arches a chance to pass.
diff --git a/Makefile b/Makefile
index feddb93..6e3efcb 100644
--- a/Makefile
+++ b/Makefile
@@ -88,8 +88,8 @@ rm-dist:
.PHONY: test
test:
- ${GO} test -ldflags="-X github.com/twpayne/chezmoi/internal/chezmoitest.umaskStr=0o022" ./...
- ${GO} test -ldflags="-X github.com/twpayne/chezmoi/internal/chezmoitest.umaskStr=0o002" ./...
+ ${GO} test -timeout 30m -ldflags="-X github.com/twpayne/chezmoi/internal/chezmoitest.umaskStr=0o022" ./...
+ ${GO} test -timeout 30m -ldflags="-X github.com/twpayne/chezmoi/internal/chezmoitest.umaskStr=0o002" ./...
.PHONY: test-docker
test-docker: