mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-16 19:25:18 +00:00
meson: update for meson.build_root() and .build_source() deprecation
-> use meson.project_build_root() or .global_build_root() instead. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1183>
This commit is contained in:
parent
f1bb2c76c6
commit
8dfab0b08c
23 changed files with 49 additions and 49 deletions
|
@ -384,9 +384,9 @@ endforeach
|
|||
message('Building subprojects: ' + ', '.join(subprojects_names))
|
||||
|
||||
setenv = find_program('gst-env.py')
|
||||
devenv_cmd = [setenv, '--builddir=@0@'.format(meson.build_root()),
|
||||
devenv_cmd = [setenv, '--builddir=@0@'.format(meson.project_build_root()),
|
||||
'--gstbuilddir=@0@'.format(meson.current_build_dir()),
|
||||
'--srcdir=@0@'.format(meson.source_root())]
|
||||
'--srcdir=@0@'.format(meson.project_source_root())]
|
||||
|
||||
subdir('tests')
|
||||
if meson.has_exe_wrapper() and build_machine.system() == 'linux' and host_machine.system() == 'windows'
|
||||
|
|
|
@ -2,8 +2,8 @@ _launcherdir = get_option('libdir') + '/gst-validate-launcher/python/launcher/'
|
|||
|
||||
launcher_configure = configuration_data()
|
||||
launcher_configure.set('GST_VALIDATE_TESTSUITE_VERSION', '@0@'.format(TESTSUITE_VERSION))
|
||||
launcher_configure.set('BUILDDIR', meson.build_root())
|
||||
launcher_configure.set('SRCDIR', meson.source_root())
|
||||
launcher_configure.set('BUILDDIR', meson.global_build_root())
|
||||
launcher_configure.set('SRCDIR', meson.global_source_root())
|
||||
launcher_configure.set('DATADIR', join_paths(get_option('prefix'), get_option('datadir')))
|
||||
launcher_configure.set('LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ foreach t : validate_tests
|
|||
env = environment()
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
|
||||
|
|
|
@ -4,11 +4,11 @@ if launcher.found()
|
|||
env = environment()
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
|
||||
test(test_name, launcher, args: ['-o', meson.build_root() + '/validate-launcher-output/',
|
||||
test(test_name, launcher, args: ['-o', meson.project_build_root() + '/validate-launcher-output/',
|
||||
meson.current_source_dir() + '/test_validate.py', '--validate-tools-path',
|
||||
join_paths(meson.current_build_dir(), '..', '..', 'tools')],
|
||||
env: env)
|
||||
|
|
|
@ -44,7 +44,7 @@ with open(fname, 'r') as f:
|
|||
|
||||
# gst-build will generate this file for us to consume so that subproject
|
||||
# changes can still work
|
||||
fname = join_paths(meson.build_root(), 'GstDocumentedSubprojects')
|
||||
fname = join_paths(meson.project_build_root(), '..', '..', 'GstDocumentedSubprojects')
|
||||
cmdres = run_command(
|
||||
python3,
|
||||
'-c', read_file_contents,
|
||||
|
|
|
@ -63,7 +63,7 @@ foreach t : ges_tests
|
|||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), test_name))
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
|
||||
exe = executable(test_name, fname,
|
||||
'ges/test-utils.c', 'nle/common.c',
|
||||
|
@ -99,7 +99,7 @@ if gstvalidate_dep.found()
|
|||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), 'scenarios'))
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_VALIDATE_LOGSDIR', meson.current_build_dir() / scenario)
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
|
||||
|
@ -129,7 +129,7 @@ if build_gir
|
|||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_REGISTRY', '@0@/@1@.registry'.format(meson.current_build_dir(), 'scenarios'))
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GI_TYPELIB_PATH', meson.current_build_dir() / '..' / '..' / 'ges')
|
||||
|
||||
test('pythontests', runtests, args: ['--pyunittest-dir', meson.current_source_dir(), 'pyunittest', '--dump-on-failure'],
|
||||
|
|
|
@ -15,8 +15,8 @@ if openssl.found() and have_webrtc_check_deps
|
|||
depends: test_deps,
|
||||
args : files(elem.get(1)),
|
||||
# XXX: This PYTHONPATH hack is fun
|
||||
env : ['PYTHONPATH=' + join_paths(meson.source_root(), 'sendrecv', 'gst') + ':' + join_paths(meson.source_root(), 'signalling'),
|
||||
'TEST_HTML_SOURCE=' + join_paths(meson.source_root(), 'sendrecv', 'js'),
|
||||
'TEST_CA_CERT_PATH=' + join_paths(meson.build_root(), 'signalling')])
|
||||
env : ['PYTHONPATH=' + join_paths(meson.project_source_root(), 'sendrecv', 'gst') + ':' + join_paths(meson.project_source_root(), 'signalling'),
|
||||
'TEST_HTML_SOURCE=' + join_paths(meson.project_source_root(), 'sendrecv', 'js'),
|
||||
'TEST_CA_CERT_PATH=' + join_paths(meson.project_build_root(), 'signalling')])
|
||||
endforeach
|
||||
endif
|
||||
|
|
|
@ -14,7 +14,7 @@ foreach dependency, version: { 'Newtonsoft.Json': '11.0.2', 'WebSocketSharp': '1
|
|||
'--nuget-version', version,
|
||||
'--csharp-version=net45',
|
||||
'--current-builddir', meson.current_build_dir(),
|
||||
'--builddir', meson.build_root(),
|
||||
'--builddir', meson.global_build_root(), # FIXME: --builddir specified twice?!
|
||||
)
|
||||
|
||||
if get_dep.returncode() != 0
|
||||
|
@ -33,4 +33,4 @@ dependencies += [dependency('gstreamer-sharp-1.0', fallback: ['gstreamer-sharp',
|
|||
|
||||
message('Execute with MONO_PATH=@0@:$MONO_PATH @1@/WebRTCSendRecv.exe'.format(mono_path, meson.current_build_dir()))
|
||||
executable('WebRTCSendRecv', 'WebRTCSendRecv.cs',
|
||||
cs_args: ['-unsafe'], dependencies: dependencies)
|
||||
cs_args: ['-unsafe'], dependencies: dependencies)
|
||||
|
|
|
@ -43,8 +43,8 @@ foreach t : libav_tests
|
|||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
|
||||
'gst-libav@' + meson.build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
'gst-libav@' + meson.project_build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GSETTINGS_BACKEND', 'memory')
|
||||
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
|
|
|
@ -40,8 +40,8 @@ foreach t : omx_tests
|
|||
env.set('GST_STATE_IGNORE_ELEMENTS', state_ignore_elements)
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
|
||||
'gst-plugins-good', 'gst-omx@' + meson.build_root(), separator: ':')
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
'gst-plugins-good', 'gst-omx@' + meson.project_build_root(), separator: ':')
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GSETTINGS_BACKEND', 'memory')
|
||||
env.set('GST_OMX_CONFIG_DIR', omx_config_dir)
|
||||
|
||||
|
|
|
@ -214,11 +214,11 @@ foreach t : base_tests
|
|||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
|
||||
'gst-plugins-good', 'gst-plugins-ugly','gst-libav', 'libnice',
|
||||
'gst-plugins-bad@' + meson.build_root())
|
||||
'gst-plugins-bad@' + meson.project_build_root())
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
test(test_name, exe, env: env, timeout: 3 * 60)
|
||||
endif
|
||||
|
|
|
@ -8,12 +8,12 @@ tests = [
|
|||
]
|
||||
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root(), pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs)
|
||||
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_plugin_scanner_path)
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate', 'gst-plugins-base',
|
||||
'gst-plugins-bad@' + meson.build_root())
|
||||
'gst-plugins-bad@' + meson.project_build_root())
|
||||
|
||||
foreach t: tests
|
||||
test_dir_name = t.split('/')
|
||||
|
|
|
@ -161,13 +161,13 @@ foreach t : base_tests
|
|||
)
|
||||
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root(), pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs)
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', 'cdio cdparanoiasrc libvisual_ alsasrc alsasink')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_TAG_LICENSE_TRANSLATIONS_DICT', join_paths(gst_tag_dir, 'license-translations.dict'))
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer',
|
||||
'gst-plugins-base@' + meson.build_root())
|
||||
'gst-plugins-base@' + meson.project_build_root())
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
test(test_name, exe, env: env, timeout: 3 * 60)
|
||||
|
@ -184,13 +184,13 @@ foreach group : [1, 2, 3, 4, 5, 6]
|
|||
|
||||
# TODO Use env.copy when it is in meson
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root(), pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs)
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', 'cdio cdparanoiasrc libvisual_ alsasrc alsasink')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_TAG_LICENSE_TRANSLATIONS_DICT', join_paths(gst_tag_dir, 'license-translations.dict'))
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer',
|
||||
'gst-plugins-base@' + meson.build_root())
|
||||
'gst-plugins-base@' + meson.project_build_root())
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(vscale_test_name)))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
|
||||
|
|
|
@ -23,12 +23,12 @@ tests = [
|
|||
]
|
||||
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root(), pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs)
|
||||
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_plugin_scanner_path)
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-validate',
|
||||
'gst-plugins-base@' + meson.build_root())
|
||||
'gst-plugins-base@' + meson.project_build_root())
|
||||
|
||||
foreach t: tests
|
||||
test_dir_name = t.split('/')
|
||||
|
|
|
@ -210,8 +210,8 @@ foreach t : good_tests
|
|||
env.set('GST_STATE_IGNORE_ELEMENTS', state_ignore_elements)
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
|
||||
'timecode', 'gst-plugins-good@' + meson.build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
'timecode', 'gst-plugins-good@' + meson.project_build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GSETTINGS_BACKEND', 'memory')
|
||||
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
|
|
|
@ -72,8 +72,8 @@ foreach t : ugly_tests
|
|||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
|
||||
'gst-plugins-good', 'gst-plugins-ugly@' + meson.build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
'gst-plugins-good', 'gst-plugins-ugly@' + meson.project_build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
test(test_name, exe, env: env, timeout: 3 * 60)
|
||||
|
|
|
@ -33,16 +33,16 @@ if gst_dep.type_name() == 'pkgconfig'
|
|||
pbase.get_variable('pluginsdir')]
|
||||
endif
|
||||
|
||||
pypluginsdir = [join_paths (meson.build_root(), 'plugin'), meson.current_source_dir()]
|
||||
pypluginsdir = [join_paths (meson.project_build_root(), 'plugin'), meson.current_source_dir()]
|
||||
|
||||
foreach i: tests
|
||||
test_name = i.get(0)
|
||||
env = environment()
|
||||
env.set('GST_OVERRIDE_SRC_PATH', join_paths (meson.current_source_dir(), '..', 'gi', 'overrides'))
|
||||
env.set('GST_OVERRIDE_BUILD_PATH', join_paths (meson.current_build_dir(), '..', 'gi', 'overrides'))
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer',
|
||||
'gst-plugins-base@' + meson.build_root(), 'gst-python@' + meson.build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root(), pluginsdirs + pypluginsdir)
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer', 'gst-plugins-base',
|
||||
'gst-python@' + meson.project_build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.global_build_root(), pluginsdirs + pypluginsdir)
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
test(test_name, python, args: [runtests, i.get(1)], env: env)
|
||||
endforeach
|
||||
|
|
|
@ -47,10 +47,10 @@ foreach test_name : rtsp_server_tests
|
|||
env = environment()
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server@' + meson.build_root())
|
||||
env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server@' + meson.project_build_root())
|
||||
env.set('CK_DEFAULT_TIMEOUT', '120')
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_SCANNER_1_0', gst_plugin_scanner_path)
|
||||
|
||||
exe = executable(test_name, fname,
|
||||
|
|
|
@ -12,7 +12,7 @@ if nunit_console.found()
|
|||
'--nuget-version', nunit_version,
|
||||
'--csharp-version=net45',
|
||||
'--current-builddir', meson.current_build_dir(),
|
||||
'--builddir', meson.build_root(),
|
||||
'--builddir', meson.build_root(), # FIXME: --builddir specified twice?!
|
||||
)
|
||||
|
||||
|
||||
|
@ -50,4 +50,4 @@ if nunit_console.found()
|
|||
endif
|
||||
else
|
||||
message('Could not find nunit-console, can\'t run unitests')
|
||||
endif
|
||||
endif
|
||||
|
|
|
@ -28,7 +28,7 @@ foreach t : tests
|
|||
env = environment()
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.build_root()] + pluginsdirs)
|
||||
env.set('GST_PLUGIN_PATH_1_0', [meson.global_build_root()] + pluginsdirs)
|
||||
env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
|
||||
exe = executable(test_name, fname, extra_sources,
|
||||
include_directories : [configinc, libsinc],
|
||||
|
|
|
@ -154,7 +154,7 @@ foreach t : core_tests
|
|||
)
|
||||
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.project_build_root())
|
||||
env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '')
|
||||
env.set('GST_STATE_IGNORE_ELEMENTS', '')
|
||||
env.set('CK_DEFAULT_TIMEOUT', '20')
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
gst_tester = executable('gst-tester-' + apiversion,
|
||||
'gst-tester.c',
|
||||
c_args : gst_c_args + ['-DBUILDDIR=' + meson.build_root()],
|
||||
c_args : gst_c_args,
|
||||
include_directories : [configinc],
|
||||
install: true,
|
||||
dependencies : [gio_dep],
|
||||
|
@ -13,7 +13,7 @@ tests = [
|
|||
]
|
||||
|
||||
env = environment()
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.build_root())
|
||||
env.set('GST_PLUGIN_PATH_1_0', meson.global_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')
|
||||
|
@ -30,4 +30,4 @@ foreach t: tests
|
|||
test_file = join_paths(meson.current_source_dir(), t + '.validatetest')
|
||||
test(test_name, gst_tester, args: [test_file, '--use-fakesinks'],
|
||||
env: test_env, timeout : 3 * 60, protocol: 'tap')
|
||||
endforeach
|
||||
endforeach
|
||||
|
|
|
@ -13,9 +13,9 @@ if run_command(python, '-c', 'import gi').returncode() != 0
|
|||
subdir_done()
|
||||
endif
|
||||
|
||||
test('python-overrides-devenv', setenv, args: ['--builddir=@0@'.format(meson.build_root()),
|
||||
test('python-overrides-devenv', setenv, args: ['--builddir=@0@'.format(meson.project_build_root()),
|
||||
'--gstbuilddir=@0@'.format(meson.current_build_dir() / '..' / '..'),
|
||||
'--srcdir=@0@'.format(meson.source_root()),
|
||||
'--srcdir=@0@'.format(meson.project_source_root()),
|
||||
meson.current_source_dir() / 'python-devenv-overrides.py'])
|
||||
|
||||
env = environment()
|
||||
|
|
Loading…
Reference in a new issue