tests: Use CALLS_PLUGIN_DIR to search for plugins in the build dir

There is no need to add a second variable to search for plugins, we can
use CALLS_PLUGIN_DIR directly.
This commit is contained in:
Julian Sparber
2022-11-19 14:08:11 +01:00
parent d804b996f4
commit 270d145b65
6 changed files with 14 additions and 20 deletions

View File

@@ -32,12 +32,12 @@ test_env = [
'CALLS_AUDIOSRC=audiotestsrc',
'CALLS_AUDIOSINK=fakesink',
'GSETTINGS_SCHEMA_DIR=@0@/data'.format(meson.project_build_root()),
'CALLS_PLUGIN_DIR=@0@/plugins'.format(meson.project_build_root()),
]
test_cflags = [
'-DFOR_TESTING',
'-Wno-error=deprecated-declarations',
'-DPLUGIN_BUILDDIR="@0@"'.format(full_calls_plugin_builddir),
]
test_link_args = [