From 5ed3a89480b5330e0032c13ba6edb2adcf5c3e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Tue, 30 Apr 2019 20:28:31 +0200 Subject: test: stream: Add test for StreamFormat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test that both discrete and range based stream format descriptions result in good discrete frame sizes. The range based stream formats needs to be fitted with a table of resolutions inside libcamera so if that table is updated this test might need to be updated. Signed-off-by: Niklas Söderlund Reviewed-by: Laurent Pinchart --- test/stream/meson.build | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/stream/meson.build (limited to 'test/stream/meson.build') diff --git a/test/stream/meson.build b/test/stream/meson.build new file mode 100644 index 00000000..2f2493de --- /dev/null +++ b/test/stream/meson.build @@ -0,0 +1,11 @@ +stream_tests = [ + [ 'stream_formats', 'stream_formats.cpp' ], +] + +foreach t : stream_tests + exe = executable(t[0], t[1], + dependencies : libcamera_dep, + link_with : test_libraries, + include_directories : test_includes_internal) + test(t[0], exe, suite: 'stream', is_parallel: false) +endforeach -- cgit v1.2.1