From 714178b1e464ba928fed2b081f0673540e5b92d0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 9 Jan 2019 10:54:56 +0100 Subject: [PATCH] meson: add module dir directory for tests --- src/tests/meson.build | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/tests/meson.build b/src/tests/meson.build index 9d5f91387..eeb9abb7e 100644 --- a/src/tests/meson.build +++ b/src/tests/meson.build @@ -7,11 +7,15 @@ test_apps = [ ] foreach a : test_apps - test(a, executable(a, a + '.c', - dependencies : [pipewire_dep], - c_args : [ '-D_GNU_SOURCE' ], - install : false), - env : ['SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root())]) + test(a, + executable(a, a + '.c', + dependencies : [pipewire_dep], + c_args : [ '-D_GNU_SOURCE' ], + install : false), + env : [ + 'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()), + 'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root()) + ]) endforeach