spa: the cpp test is a compilation test only

No point installing or even running it, we don't do anything here.
This commit is contained in:
Peter Hutterer 2021-06-04 13:34:13 +10:00
parent a71e68e945
commit 81cc466752

View file

@ -31,22 +31,11 @@ foreach a : test_apps
endforeach endforeach
if have_cpp if have_cpp
test_cpp = executable('spa-test-cpp', 'test-cpp.cpp', # compilation test only
include_directories : [spa_inc ], executable('spa-test-cpp', 'test-cpp.cpp',
dependencies : [], include_directories : [spa_inc ],
install : installed_tests_enabled, dependencies : [],
install_dir : installed_tests_execdir) install : false)
test('spa-test-cpp', test_cpp)
if installed_tests_enabled
test_conf = configuration_data()
test_conf.set('exec', installed_tests_execdir / 'spa-test-cpp')
configure_file(
input: installed_tests_template,
output: 'spa-test-cpp.test',
install_dir: installed_tests_metadir,
configuration: test_conf
)
endif
endif endif
benchmark_apps = [ benchmark_apps = [