From patchwork Thu Oct 3 15:20:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 2076 Return-Path: Received: from relay6-d.mail.gandi.net (relay6-d.mail.gandi.net [217.70.183.198]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 5373D60BE9 for ; Thu, 3 Oct 2019 17:19:00 +0200 (CEST) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id DD96DC0006; Thu, 3 Oct 2019 15:18:59 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 3 Oct 2019 17:20:32 +0200 Message-Id: <20191003152037.74617-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/5] test: Add IPA interface test support X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2019 15:19:00 -0000 Hello, this series provides a way to test the IPA interface interactions by using the DummyIPA, here re-named to VimcIPA. The series, in the last two patches, implements a communication channel using a named pipe on the file system, used to exchange data between the IPA module and the test unit. For the moment, only test success in invocation of the init() operation. As the IPA interface grows more data might be exchanged and more meaningful test messages could be exchanged on the fifo. Thanks j Jacopo Mondi (5): ipa: vimc: Rename ipa_dummy to ipa_vimc test: ipa: Rename the ipa_test to ipa_module_test ipa: ipa_manager: Print the loaded IPA modules path test: ipa: Add test for the IPA Interface ipa: vimc: Add support for test back channel src/ipa/ipa_dummy.cpp | 46 ------ src/ipa/ipa_vimc.cpp | 100 ++++++++++++ src/ipa/meson.build | 10 +- src/libcamera/ipa_manager.cpp | 7 +- test/ipa/ipa_interface_test.cpp | 147 ++++++++++++++++++ .../ipa/{ipa_test.cpp => ipa_module_test.cpp} | 4 +- test/ipa/meson.build | 3 +- 7 files changed, 261 insertions(+), 56 deletions(-) delete mode 100644 src/ipa/ipa_dummy.cpp create mode 100644 src/ipa/ipa_vimc.cpp create mode 100644 test/ipa/ipa_interface_test.cpp rename test/ipa/{ipa_test.cpp => ipa_module_test.cpp} (92%) --- 2.23.0