From d8de003a0482c998c178151bd1e5684fef60b8be Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Fri, 10 May 2019 19:10:41 -0400 Subject: test: ipa: add IPAModule tests 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 Reviewed-by: Laurent Pinchart --- test/ipa/meson.build | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 test/ipa/meson.build (limited to 'test/ipa/meson.build') diff --git a/test/ipa/meson.build b/test/ipa/meson.build new file mode 100644 index 00000000..6df0671b --- /dev/null +++ b/test/ipa/meson.build @@ -0,0 +1,21 @@ +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 -- cgit v1.2.1