pipewire/src/tests/meson.build
Wim Taymans 8ea78c2e3f pw_core -> pw_context
The proxy API is the one that we would like to expose for applications
and the other API is used internally when implementing modules or
factories.

The current pw_core object is really a context for all objects so
name it that way. It also makes it possible to rename pw_core_proxy
to pw_proxy later.
2019-12-10 18:19:56 +01:00

30 lines
666 B
Meson

test_apps = [
'test-array',
'test-client',
'test-context',
'test-interfaces',
'test-properties',
# 'test-remote',
'test-stream',
'test-utils'
]
foreach a : test_apps
test('pw-' + a,
executable('pw-' + 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
if have_cpp
test_cpp = executable('pw-test-cpp', 'test-cpp.cpp',
dependencies : [pipewire_dep],
install : false)
test('pw-test-cpp', test_cpp)
endif