From 8c628fa3254a34a0f4196f8f97e431ea4f75092b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alicia=20Boya=20Garc=C3=ADa?= Date: Mon, 26 Jun 2023 11:53:47 +0200 Subject: [PATCH] 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: --- subprojects/gst-plugins-base/tests/validate/meson.build | 2 +- subprojects/gstreamer/tests/validate/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-base/tests/validate/meson.build b/subprojects/gst-plugins-base/tests/validate/meson.build index 6e2193cbb3..6da821cc68 100644 --- a/subprojects/gst-plugins-base/tests/validate/meson.build +++ b/subprojects/gst-plugins-base/tests/validate/meson.build @@ -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 diff --git a/subprojects/gstreamer/tests/validate/meson.build b/subprojects/gstreamer/tests/validate/meson.build index 29e5264266..11d8a7c268 100644 --- a/subprojects/gstreamer/tests/validate/meson.build +++ b/subprojects/gstreamer/tests/validate/meson.build @@ -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('/')