libcamera: test: remove test IPA and use dummy IPA instead
Use the dummy IPA for testing/sample IPA instead of the earlier test IPA. Remove the test IPA, and update tests and meson accordingly. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
dd5b899c5b
commit
87a93e17f8
3 changed files with 4 additions and 28 deletions
|
@ -56,12 +56,12 @@ protected:
|
||||||
|
|
||||||
const struct IPAModuleInfo testInfo = {
|
const struct IPAModuleInfo testInfo = {
|
||||||
IPA_MODULE_API_VERSION,
|
IPA_MODULE_API_VERSION,
|
||||||
9001,
|
0,
|
||||||
"bleep",
|
"PipelineHandlerVimc",
|
||||||
"It's over nine thousand!",
|
"Dummy IPA for Vimc",
|
||||||
};
|
};
|
||||||
|
|
||||||
count += runTest("test/ipa/ipa-dummy-cpp.so", testInfo);
|
count += runTest("src/ipa/ipa_dummy.so", testInfo);
|
||||||
|
|
||||||
if (count < 0)
|
if (count < 0)
|
||||||
return TestFail;
|
return TestFail;
|
||||||
|
|
|
@ -1,13 +1,3 @@
|
||||||
ipa_modules_sources = [
|
|
||||||
['ipa-dummy-cpp', 'shared_test.cpp'],
|
|
||||||
]
|
|
||||||
|
|
||||||
foreach m : ipa_modules_sources
|
|
||||||
shared_library(m, name_prefix : '',
|
|
||||||
dependencies : libcamera_dep,
|
|
||||||
include_directories : test_includes_public)
|
|
||||||
endforeach
|
|
||||||
|
|
||||||
ipa_test = [
|
ipa_test = [
|
||||||
['ipa_test', 'ipa_test.cpp'],
|
['ipa_test', 'ipa_test.cpp'],
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
#include <libcamera/ipa/ipa_module_info.h>
|
|
||||||
|
|
||||||
namespace libcamera {
|
|
||||||
|
|
||||||
extern "C" {
|
|
||||||
const struct libcamera::IPAModuleInfo ipaModuleInfo = {
|
|
||||||
IPA_MODULE_API_VERSION,
|
|
||||||
9001,
|
|
||||||
"bleep",
|
|
||||||
"It's over nine thousand!",
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}; /* namespace libcamera */
|
|
Loading…
Add table
Add a link
Reference in a new issue