summaryrefslogtreecommitdiff
path: root/test/ipa/shared_test.c
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-05-10 19:10:41 -0400
committerPaul Elder <paul.elder@ideasonboard.com>2019-05-21 18:35:11 -0400
commitd8de003a0482c998c178151bd1e5684fef60b8be (patch)
treed5a3e4f6d67596a9f7798d05d272e310a9aab29c /test/ipa/shared_test.c
parentc1bbbd3b5b4706a31a7505fdd9ad65786764e2d7 (diff)
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 <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/ipa/shared_test.c')
-rw-r--r--test/ipa/shared_test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ipa/shared_test.c b/test/ipa/shared_test.c
new file mode 100644
index 00000000..87d182b9
--- /dev/null
+++ b/test/ipa/shared_test.c
@@ -0,0 +1,6 @@
+#include <libcamera/ipa/ipa_module_info.h>
+
+const struct IPAModuleInfo ipaModuleInfo = {
+ .name = "It's over nine thousand!",
+ .version = 9001,
+};