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>
This commit is contained in:
parent
c1bbbd3b5b
commit
d8de003a04
5 changed files with 114 additions and 0 deletions
12
test/ipa/shared_test.cpp
Normal file
12
test/ipa/shared_test.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include <libcamera/ipa/ipa_module_info.h>
|
||||
|
||||
namespace libcamera {
|
||||
|
||||
extern "C" {
|
||||
const struct libcamera::IPAModuleInfo ipaModuleInfo = {
|
||||
"It's over nine thousand!",
|
||||
9001,
|
||||
};
|
||||
};
|
||||
|
||||
}; /* namespace libcamera */
|
Loading…
Add table
Add a link
Reference in a new issue