test: Register the initialisation test with meson

Register the test so that it can integrate with the meson test
framework.

To execute the test suite, use 'ninja test'.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham 2018-11-20 16:45:38 +00:00
parent 23ac77dc4a
commit cc4de52524

View file

@ -1,3 +1,5 @@
test_init = executable('test_init', 'init.cpp', test_init = executable('test_init', 'init.cpp',
link_with : libcamera, link_with : libcamera,
include_directories : inc) include_directories : inc)
test('Initialisation test', test_init)