Allow specifying path to libvterm from environment

Uses POWERLINE_LIBVTERM environment variable.
This commit is contained in:
ZyX 2015-02-20 23:48:26 +03:00
parent 8629999379
commit 0a0af212ad

View File

@ -106,7 +106,7 @@ def main(attempts=3):
if os.path.exists('tests/bot-ci/deps/libvterm/libvterm.so'): if os.path.exists('tests/bot-ci/deps/libvterm/libvterm.so'):
lib = 'tests/bot-ci/deps/libvterm/libvterm.so' lib = 'tests/bot-ci/deps/libvterm/libvterm.so'
else: else:
lib = 'libvterm.so' lib = os.environ.get('POWERLINE_LIBVTERM', 'libvterm.so')
try: try:
p = ExpectProcess( p = ExpectProcess(