summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorentin Noël <corentin@elementary.io>2019-08-20 18:12:28 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2019-10-19 17:17:27 +0000
commit7206310fcd638c81d3c55af46ac5c11c8e3544a7 (patch)
tree7bc74352b189b196436da75f3f0bc0fe6e42189c
parentc2f5017b07c6a3c68235340d6804ca29fb96c57f (diff)
downloadgobject-introspection-7206310fcd638c81d3c55af46ac5c11c8e3544a7.tar.gz
tests: Actually test libregress by specifying the LD_LIBRARY_PATH
-rw-r--r--tests/repository/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/repository/meson.build b/tests/repository/meson.build
index e1858b66..497ab106 100644
--- a/tests/repository/meson.build
+++ b/tests/repository/meson.build
@@ -14,6 +14,10 @@ if glib_dep.type_name() == 'pkgconfig'
join_paths(meson.build_root(), 'tests'),
join_paths(meson.build_root(), 'tests', 'scanner'),
)
+ repository_test_env.prepend(
+ 'LD_LIBRARY_PATH',
+ join_paths(meson.build_root(), 'tests', 'scanner'),
+ )
if host_system == 'windows'
repository_test_env.prepend(
'PATH', join_paths(meson.build_root(), 'tests', 'scanner'))