summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2022-08-02 16:39:12 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2022-10-18 18:52:51 +0900
commit23fd404690d110ad2cffc33e8815dd9caa7dcc2f (patch)
tree4344b9524a7d1e220dd6ed879fa5e4cd439f8a2d /test
parentdeaf13de9bd99457300d33d5c38aedd909fe8260 (diff)
ipa: vimc: Add IPAOperationCode to init() parameter list
For the purpose of testing serializing/deserializing enums in function parameters, add IPAOperationCode to the parameter list of init(). Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test')
-rw-r--r--test/ipa/ipa_interface_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ipa/ipa_interface_test.cpp b/test/ipa/ipa_interface_test.cpp
index 6b93e976..cd20348a 100644
--- a/test/ipa/ipa_interface_test.cpp
+++ b/test/ipa/ipa_interface_test.cpp
@@ -106,7 +106,7 @@ protected:
/* Test initialization of IPA module. */
std::string conf = ipa_->configurationFile("vimc.conf");
- int ret = ipa_->init(IPASettings{ conf, "vimc" });
+ int ret = ipa_->init(IPASettings{ conf, "vimc" }, ipa::vimc::IPAOperationInit);
if (ret < 0) {
cerr << "IPA interface init() failed" << endl;
return TestFail;