mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
validate tests: include debugutilsbad to be able to use testsrcbin
Fixes test: validate.uridecodebin.expose_raw_pad_caps testsrcbin (currently part of debugutilsbad) is an useful element for validate tests. validate.uridecodebin.expose_raw_pad_caps makes use of it. Unfortunately, because validate tests with GStreamer only run with whitelisted plugins and `debugutilsbad` wasn't in the whitelist, the test was failing and being auto-skipped. This patch adds debugutilsbad to the whitelists used by validate tests in subprojects with a validate/meson.build. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4931>
This commit is contained in:
parent
e7f13ede0f
commit
8c628fa325
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs)
|
|||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), 'validate'))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate',
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate', 'debugutilsbad',
|
||||
'gst-plugins-base@' + meson.project_build_root())
|
||||
|
||||
foreach t: tests
|
||||
|
|
|
@ -18,7 +18,7 @@ env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root())
|
|||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), 'validate'))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate', 'debugutilsbad')
|
||||
|
||||
foreach t: tests
|
||||
test_dir_name = t.split('/')
|
||||
|
|
Loading…
Reference in a new issue