tests: use the real name of the videoscale test in GST_REGISTRY
authorJose Quaresma <quaresma.jose@gmail.com>
Fri, 14 May 2021 22:16:32 +0000 (23:16 +0100)
committerJose Quaresma <quaresma.jose@gmail.com>
Fri, 14 May 2021 22:24:20 +0000 (23:24 +0100)
The videoscale tests uses the same name as the one used in base tests.
Fix this and use the name of the videoscale test on the test environment GST_REGISTRY

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1146>

tests/check/meson.build

index 834b6c3e69c6f1c8d7d2de15d71bde8608e72905..fa670b08f79a609ebda25d91e2b5b33ede615b4f 100644 (file)
@@ -191,7 +191,7 @@ foreach group : [1, 2, 3, 4, 5, 6]
   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())
-  env.set('GST_REGISTRY', join_paths(meson.current_build_dir(), '@0@.registry'.format(test_name)))
+  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)
 
   test(vscale_test_name, exe, env: env, timeout: 3 * 60)