Add tests to test the the IPAModule class, for loading the IPA module info from IPA module .so shared objects, with modules written in both C and C++. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
22 lines
540 B
Meson
22 lines
540 B
Meson
ipa_modules_sources = [
|
|
['ipa-dummy-c', 'shared_test.c'],
|
|
['ipa-dummy-cpp', 'shared_test.cpp'],
|
|
]
|
|
|
|
foreach m : ipa_modules_sources
|
|
shared_library(m, name_prefix: '',
|
|
include_directories: test_includes_public)
|
|
endforeach
|
|
|
|
ipa_test = [
|
|
['ipa_test', 'ipa_test.cpp'],
|
|
]
|
|
|
|
foreach t : ipa_test
|
|
exe = executable(t[0], t[1],
|
|
link_with : test_libraries,
|
|
include_directories : test_includes_internal)
|
|
|
|
test(t[0], exe, suite: 'ipa', is_parallel: false)
|
|
endforeach
|