diff --git a/tests/check/meson.build b/tests/check/meson.build index e8bb3493b3..83a780b051 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -177,18 +177,14 @@ foreach t : good_tests endif if not skip_test env = environment() - env.set('GST_PLUGIN_PATH_1_0', meson.build_root()) env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '') env.set('GST_STATE_IGNORE_ELEMENTS', state_ignore_elements) env.set('CK_DEFAULT_TIMEOUT', '20') env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base', 'gst-plugins-good@' + meson.build_root(), separator: ':') - env.set('GST_PLUGIN_PATH_1_0', meson.build_root()) + env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs) env.set('GSETTINGS_BACKEND', 'memory') - foreach plugindir: pluginsdirs - env.append('GST_PLUGIN_PATH_1_0', plugindir) - endforeach env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name)) exe = executable(test_name, '@0@.c'.format(test_name), include_directories : [configinc],