Make sure that it is possible to use “system” libvterm.so

This commit is contained in:
ZyX 2015-02-20 23:47:18 +03:00
parent 02b31f36bd
commit 8629999379
1 changed files with 6 additions and 1 deletions

View File

@ -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,