Merging gst-devtools
[platform/upstream/gstreamer.git] / validate / tests / launcher_tests / meson.build
1 if launcher.found()
2     test_name = 'validate/launcher_tests'
3
4     env = environment()
5     env.set('GST_STATE_IGNORE_ELEMENTS', '')
6     env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
7     env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
8     env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
9     env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
10
11     test(test_name, launcher, args: ['-o', meson.build_root() + '/validate-launcher-output/',
12       meson.current_source_dir() + '/test_validate.py', '--validate-tools-path',
13       join_paths(meson.current_build_dir(), '..', '..', 'tools')],
14       env: env)
15 endif