diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2020-08-19 18:20:49 -0700 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2020-08-19 18:20:55 -0700 |
commit | f6745c9e44149c8e2ad9b4c64ca785551f3bddb4 (patch) | |
tree | 7f70cd132b484f6326c629be652dd98663bbbb35 | |
parent | 6a0ce1dafda4d26be1555b3b649d3c5f0970e69e (diff) | |
download | libsoup-wip/test-runner.tar.gz |
fixup!wip/test-runner
-rwxr-xr-x | tests/test-runner.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/test-runner.py b/tests/test-runner.py index a92ed923..26bcc1d0 100755 --- a/tests/test-runner.py +++ b/tests/test-runner.py @@ -6,8 +6,14 @@ import signal import sys import gi +gi.require_version('GIRepository', '2.0') +from gi.repository import GLib, Gio, GIRepository +libpath = os.path.join(os.environ.get('MESON_BUILD_ROOT', 'meson-build'), 'libsoup') +GIRepository.Repository.prepend_search_path(libpath) +GIRepository.Repository.prepend_library_path(libpath) + gi.require_version('Soup', '2.4') -from gi.repository import GLib, Gio, Soup +from gi.repository import Soup verbose_logging = False |