mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
1be6d6ccf5
This is required since Meson 0.61.0, and causes a warning to be
emitted otherwise:
2c079d855e
https://github.com/mesonbuild/meson/issues/9300
This exposed a bunch of places where we had broken run_command()
calls, unnecessary run_command() calls, and places where check: true
should be used.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1507>
22 lines
790 B
Meson
22 lines
790 B
Meson
tests = [
|
|
['basic', 'basic.py'],
|
|
]
|
|
|
|
check_test = find_program ('configure_test_check.py')
|
|
have_webrtc_check_deps = run_command (check_test, check: false).returncode() == 0
|
|
|
|
if openssl.found() and have_webrtc_check_deps
|
|
test_deps = [certs]
|
|
message ('adding webrtc tests')
|
|
|
|
foreach elem : tests
|
|
test(elem.get(0),
|
|
py3,
|
|
depends: test_deps,
|
|
args : files(elem.get(1)),
|
|
# XXX: This PYTHONPATH hack is fun
|
|
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
|