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/shared_test.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/ipa/shared_test.cpp (limited to 'test/ipa/shared_test.cpp') diff --git a/test/ipa/shared_test.cpp b/test/ipa/shared_test.cpp new file mode 100644 index 00000000..4e5c976c --- /dev/null +++ b/test/ipa/shared_test.cpp @@ -0,0 +1,12 @@ +#include + +namespace libcamera { + +extern "C" { +const struct libcamera::IPAModuleInfo ipaModuleInfo = { + "It's over nine thousand!", + 9001, +}; +}; + +}; /* namespace libcamera */ -- cgit v1.2.1