[libsoup/wip/test-runner] fixup!
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/test-runner] fixup!
- Date: Tue, 1 Sep 2020 06:57:22 +0000 (UTC)
commit f6745c9e44149c8e2ad9b4c64ca785551f3bddb4
Author: Patrick Griffis <pgriffis igalia com>
Date: Wed Aug 19 18:20:49 2020 -0700
fixup!
tests/test-runner.py | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]