[libcamera-devel,0/5] test: Add IPA interface test support
mbox series

Message ID 20191003152037.74617-1-jacopo@jmondi.org
Headers show
Series
  • test: Add IPA interface test support
Related show

Message

Jacopo Mondi Oct. 3, 2019, 3:20 p.m. UTC
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