Skip to content

Commit

Permalink
tests: pick up rtsp-server plugins from build directory only
Browse files Browse the repository at this point in the history
  • Loading branch information
tp-m authored and GStreamer Merge Bot committed May 27, 2020
1 parent ae58f7d commit fe5d29e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/check/meson.build
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fe5d29e

Please sign in to comment.