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