| 1 |
test_apps = [ |
| 2 |
[ 'test-pipewire-alsa-stress', [alsa_dep, pthread_lib] ], |
| 3 |
] |
| 4 |
|
| 5 |
foreach a : test_apps |
| 6 |
executable('pw-' + a[0], a[0] + '.c', |
| 7 |
dependencies : a[1], |
| 8 |
include_directories: [includes_inc], |
| 9 |
install : installed_tests_enabled, |
| 10 |
install_dir : installed_tests_execdir |
| 11 |
) |
| 12 |
|
| 13 |
if installed_tests_enabled |
| 14 |
test_conf = configuration_data() |
| 15 |
test_conf.set('exec', installed_tests_execdir / 'pw-' + a[0]) |
| 16 |
configure_file( |
| 17 |
input: installed_tests_template, |
| 18 |
output: 'pw-' + a[0] + '.test', |
| 19 |
install_dir: installed_tests_metadir, |
| 20 |
configuration: test_conf |
| 21 |
) |
| 22 |
endif |
| 23 |
endforeach |