2016-09-07 20:24:53 +00:00
|
|
|
if launcher.found()
|
2016-11-18 17:45:42 +00:00
|
|
|
test_name = 'validate/launcher_tests'
|
2020-06-15 22:06:33 +00:00
|
|
|
|
|
|
|
env = environment()
|
|
|
|
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
|
|
|
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
2021-10-18 14:47:00 +00:00
|
|
|
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
2016-11-18 17:45:42 +00:00
|
|
|
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
|
2020-06-15 22:06:33 +00:00
|
|
|
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
2016-11-18 17:45:42 +00:00
|
|
|
|
2021-10-18 14:47:00 +00:00
|
|
|
test(test_name, launcher, args: ['-o', meson.project_build_root() + '/validate-launcher-output/',
|
2016-09-09 15:09:45 +00:00
|
|
|
meson.current_source_dir() + '/test_validate.py', '--validate-tools-path',
|
2017-02-02 13:29:30 +00:00
|
|
|
join_paths(meson.current_build_dir(), '..', '..', 'tools')],
|
2016-11-18 17:45:42 +00:00
|
|
|
env: env)
|
2016-09-07 20:24:53 +00:00
|
|
|
endif
|