From 981f1539b001e620af29beebf5e1bd036bd6e354 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 11 Oct 2026 11:05:23 +0900 Subject: [PATCH] Run itest in a separate tmux server - No user config, so options like extended-keys do not affect tests - Default 80x24 window, same as CI --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3ba74813..2d8a887f 100644 --- a/Makefile +++ b/Makefile @@ -94,8 +94,12 @@ test: $(SOURCES) github.com/junegunn/fzf/src/tui \ github.com/junegunn/fzf/src/util +# Run in a separate tmux server without user config, like CI (80x24) itest: - ruby test/runner.rb + @dir=$$(mktemp -d) && \ + env -u TMUX TMUX_TMPDIR=$$dir sh -c \ + 'tmux -f /dev/null new-session -d && ruby test/runner.rb; s=$$?; tmux kill-server; exit $$s'; \ + s=$$?; rm -rf $$dir; exit $$s # Actively fuzz the matcher fast paths against the general algorithm. # Go fuzzes one target at a time, so iterate. Override duration with