From fe5d29ee3fdc56ba64c6243d6a96eeee8609e4ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 27 May 2020 17:29:18 +0100 Subject: [PATCH] tests: pick up rtsp-server plugins from build directory only Part-of: --- tests/check/meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/check/meson.build b/tests/check/meson.build index d2416117..0c20c6f8 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -1,4 +1,3 @@ -# FIXME: something is wrong with plugin paths / whitelisting here pluginsdirs = [] if gst_dep.type_name() == 'pkgconfig' pbase = dependency('gstreamer-plugins-base-' + api_version, required : false) @@ -39,7 +38,7 @@ foreach test_name : rtsp_server_tests env = environment() env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '') env.set('GST_STATE_IGNORE_ELEMENTS', '') - env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server') + env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server@' + meson.build_root()) env.set('CK_DEFAULT_TIMEOUT', '120') env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name)) env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)