diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2019-10-22 01:58:15 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-11-20 21:47:54 +0200 |
commit | c0b437fd6cf7ca2e91eb749a25539f217722c66e (patch) | |
tree | b1172fd8b79b329a0df2882053a2fa9ef39fbbba /test/serialization/meson.build | |
parent | 2c5f0ad23aa40d7410b28e01405c730e75c6cf83 (diff) |
test: Add control serialization test
Add a test that exercises the ControlSerializer to serialize and
deserialize ControlInfoMap and ControlList.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/serialization/meson.build')
-rw-r--r-- | test/serialization/meson.build | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/serialization/meson.build b/test/serialization/meson.build new file mode 100644 index 00000000..d78d92e6 --- /dev/null +++ b/test/serialization/meson.build @@ -0,0 +1,11 @@ +serialization_tests = [ + [ 'control_serialization', 'control_serialization.cpp' ], +] + +foreach t : serialization_tests + exe = executable(t[0], [t[1], 'serialization_test.cpp'], + dependencies : libcamera_dep, + link_with : test_libraries, + include_directories : test_includes_internal) + test(t[0], exe, suite : 'serialization', is_parallel : true) +endforeach |