1 gst_tester = find_program('gst-tester-@0@'.format(api_version), required: get_option('tests'))
2 if not gst_tester.found()
7 'audiotestsrc/reverse',
8 'videorate/10_to_1fps',
9 'videorate/reverse.10_to_1fps',
10 'videorate/reverse.10_to_30fps',
11 'videorate/reverse.1_to_10fps',
12 'videorate/reverse.30fps',
13 'videorate/reverse.variable_to_10fps',
14 'videorate/change_rate_while_playing',
15 'videorate/change_rate_reverse_playback',
17 'videorate/rate_0_5_with_decoder',
19 'videorate/rate_2_0_with_decoder',
20 'compositor/renogotiate_failing_unsupported_src_format',
21 'giosrc/read-growing-file',
22 'encodebin/set-encoder-properties',
23 'uridecodebin/expose_raw_pad_caps',
27 env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs)
28 env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
29 env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), 'validate'))
30 env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
31 env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate',
32 'gst-plugins-base@' + meson.project_build_root())
35 test_dir_name = t.split('/')
36 test_name = 'validate'
37 foreach c: test_dir_name
41 test_env.set('GST_VALIDATE_LOGSDIR', join_paths(meson.current_build_dir(), test_name))
42 test_file = join_paths(meson.current_source_dir(), t + '.validatetest')
43 test(test_name, gst_tester, args: [test_file, '--use-fakesinks'],
44 env: test_env, timeout : 3 * 60, protocol: 'tap')