From 20d15d9dc47fcfbf1f02689cc4c882115abe507f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= Date: Thu, 20 Dec 2018 16:41:50 +0100 Subject: tests: add test to list all cameras in the system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add simple test which lists all cameras detected in the system. The test fails if no camera can be found. Signed-off-by: Niklas Söderlund --- test/meson.build | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index da0aea96..a74629f8 100644 --- a/test/meson.build +++ b/test/meson.build @@ -8,4 +8,9 @@ test_init = executable('test_init', 'init.cpp', link_with : libcamera, include_directories : libcamera_includes) +list = executable('list', 'list.cpp', + link_with : [libcamera, libtest], + include_directories : libcamera_includes) + test('Initialisation test', test_init) +test('List Camera API tests', list) -- cgit v1.2.1