Make sure that it is possible to use “system” libvterm.so
This commit is contained in:
parent
02b31f36bd
commit
8629999379
|
@ -103,9 +103,14 @@ def main(attempts=3):
|
||||||
|
|
||||||
tmux_exe = os.path.join(vterm_path, 'tmux')
|
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:
|
try:
|
||||||
p = ExpectProcess(
|
p = ExpectProcess(
|
||||||
lib='tests/bot-ci/deps/libvterm/libvterm.so',
|
lib=lib,
|
||||||
rows=rows,
|
rows=rows,
|
||||||
cols=cols,
|
cols=cols,
|
||||||
cmd=tmux_exe,
|
cmd=tmux_exe,
|
||||||
|
|
Loading…
Reference in New Issue