meson: add module dir directory for tests

This commit is contained in:
Wim Taymans 2019-01-09 10:54:56 +01:00
parent 69b7c18718
commit 714178b1e4

View file

@ -7,11 +7,15 @@ test_apps = [
]
foreach a : test_apps
test(a, executable(a, a + '.c',
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())])
env : [
'SPA_PLUGIN_DIR=@0@/spa/plugins/'.format(meson.build_root()),
'PIPEWIRE_MODULE_DIR=@0@/src/modules/'.format(meson.build_root())
])
endforeach