mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 927670 - Prepend lib dirs to sys.path in jit_test.py to avoid conflicts. r=terrence
This commit is contained in:
parent
658705fb75
commit
75916bb60b
@ -9,8 +9,8 @@ def add_libdir_to_path():
|
||||
from os.path import dirname, exists, join, realpath
|
||||
js_src_dir = dirname(dirname(realpath(sys.argv[0])))
|
||||
assert exists(join(js_src_dir,'jsapi.h'))
|
||||
sys.path.append(join(js_src_dir, 'lib'))
|
||||
sys.path.append(join(js_src_dir, 'tests', 'lib'))
|
||||
sys.path.insert(0, join(js_src_dir, 'lib'))
|
||||
sys.path.insert(0, join(js_src_dir, 'tests', 'lib'))
|
||||
|
||||
add_libdir_to_path()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user