gstreamer/webrtc/check/meson.build
Matthew Waters e1c3dad258 webrtc: update for move to gst-examples
- Integrate with the build system.
- Some README updates.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-examples/-/merge_requests/16>
2020-06-25 18:36:22 +10:00

18 lines
560 B
Meson

tests = [
['basic', 'basic.py'],
]
if openssl.found()
test_deps = [certs]
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.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')])
endforeach
endif