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
This commit is contained in:
Junegunn Choi committed 2026-10-11 11:05:23 +09:00
1 parent 25adb67453
commit 981f1539b0
1 file changed
+5 -1
+5 -1
View File
@@ -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