mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
spa: deduplicate test-helper.h
This commit is contained in:
parent
c47df433f7
commit
960ca82552
4 changed files with 5 additions and 101 deletions
|
|
@ -135,6 +135,7 @@ test_lib = static_library('test_lib',
|
|||
dependencies : [ spa_dep ],
|
||||
install : false
|
||||
)
|
||||
test_inc = include_directories('../test')
|
||||
|
||||
test_apps = [
|
||||
'test-audioadapter',
|
||||
|
|
@ -149,7 +150,7 @@ foreach a : test_apps
|
|||
test(a,
|
||||
executable(a, a + '.c',
|
||||
dependencies : [ spa_dep, dl_lib, pthread_lib, mathlib, audioconvert_dep, spa_audioconvert_dep ],
|
||||
include_directories : [ configinc ],
|
||||
include_directories : [ configinc, test_inc ],
|
||||
link_with : [ test_lib ],
|
||||
install_rpath : spa_plugindir / 'audioconvert',
|
||||
c_args : [ simd_cargs ],
|
||||
|
|
@ -180,7 +181,7 @@ foreach a : benchmark_apps
|
|||
benchmark(a,
|
||||
executable(a, a + '.c',
|
||||
dependencies : [ spa_dep, dl_lib, pthread_lib, mathlib, audioconvert_dep, spa_audioconvert_dep ],
|
||||
include_directories : [ configinc ],
|
||||
include_directories : [ configinc, test_inc ],
|
||||
c_args : [ simd_cargs ],
|
||||
install_rpath : spa_plugindir / 'audioconvert',
|
||||
install : installed_tests_enabled,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue