Skip to content
Myr

Run itest in a separate tmux server

Before adoption: this commit came in with the history the project adopted, so no landing records it.

- No user config, so options like extended-keys do not affect tests - Default 80x24 window, same as CI

authored by Junegunn Choi · committed by Junegunn Choi · parent 25adb67 · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−1 removed

  • other:+5 added−1 removed

1 file+5 added−1 removed

modified:Makefile+5 added-1 removed
92 unmodified lines
93 github.com/junegunn/fzf/src/algo \94 github.com/junegunn/fzf/src/tui \95 github.com/junegunn/fzf/src/util9697# Run in a separate tmux server without user config, like CI (80x24)98itest:98 ruby test/runner.rb99 @dir=$$(mktemp -d) && \100 env -u TMUX TMUX_TMPDIR=$$dir sh -c \101 'tmux -f /dev/null new-session -d && ruby test/runner.rb; s=$$?; tmux kill-server; exit $$s'; \102 s=$$?; rm -rf $$dir; exit $$s103104# Actively fuzz the matcher fast paths against the general algorithm.105# Go fuzzes one target at a time, so iterate. Override duration with106# FUZZTIME (e.g. make fuzz FUZZTIME=5m).
130 unmodified lines