Files
external_libcamera/test/meson.build
Niklas Söderlund 20d15d9dc4 tests: add test to list all cameras in the system
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 <niklas.soderlund@ragnatech.se>
2018-12-31 00:58:32 +01:00

17 lines
490 B
Meson

libtest_sources = files([
'test.cpp',
])
libtest = static_library('libtest', libtest_sources)
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)