diff --git a/tests/test_in_vterm/test_tmux.py b/tests/test_in_vterm/test_tmux.py index 744804c9..9937333c 100755 --- a/tests/test_in_vterm/test_tmux.py +++ b/tests/test_in_vterm/test_tmux.py @@ -103,9 +103,14 @@ def main(attempts=3): tmux_exe = os.path.join(vterm_path, 'tmux') + if os.path.exists('tests/bot-ci/deps/libvterm/libvterm.so'): + lib = 'tests/bot-ci/deps/libvterm/libvterm.so' + else: + lib = 'libvterm.so' + try: p = ExpectProcess( - lib='tests/bot-ci/deps/libvterm/libvterm.so', + lib=lib, rows=rows, cols=cols, cmd=tmux_exe,