diff options
author | Thibault Saunier <tsaunier@igalia.com> | 2020-08-20 21:09:31 -0400 |
---|---|---|
committer | Thibault Saunier <tsaunier@igalia.com> | 2020-08-24 14:25:56 -0400 |
commit | c690c8437aab62f8760a406e3481ccc4eaee13ea (patch) | |
tree | ea3df92e338ebc816e498818d30bb79bb3f45f95 | |
parent | 5364189cbc7e1145e849a7343e788bcc3b3ccc43 (diff) |
tests: Fix running tests fully uninstalled
Fixes https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/118
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/206>
-rw-r--r-- | tests/check/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build index d5f26664..7aa6dcaa 100644 --- a/tests/check/meson.build +++ b/tests/check/meson.build @@ -117,6 +117,15 @@ if build_gir endif if runtests.found() + env = environment() + env.set('GST_PLUGIN_SYSTEM_PATH_1_0', '') + 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_VALIDATE_LOGSDIR', meson.current_build_dir() / scenario) + env.set('GI_TYPELIB_PATH', meson.current_build_dir() / '..' / '..' / 'ges') + test('pythontests', runtests, args: ['--pyunittest-dir', meson.current_source_dir(), 'pyunittest', '--dump-on-failure'], env: env) endif |