tests:validate: Whitelist validate plugins
authorThibault Saunier <tsaunier@igalia.com>
Thu, 28 May 2020 18:56:26 +0000 (14:56 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 28 May 2020 18:56:26 +0000 (14:56 -0400)
This is required so we can use validateflow for example

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/506>

tests/validate/meson.build

index d3c0190..6e6f8e0 100644 (file)
@@ -15,7 +15,7 @@ env.set('GST_PLUGIN_PATH_1_0', meson.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')
+env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate')
 
 foreach t: tests
     test_dir_name = t.split('/')