tests:validate: Whitelist validate plugins

This is required so we can use validateflow for example

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/506>
This commit is contained in:
Thibault Saunier 2020-05-28 14:56:26 -04:00
parent 95b26d1f89
commit c8cb342833

View 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('/')