Log level parsing doesn't always work as expected. Add a failing test for that. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
16 lines
544 B
Meson
16 lines
544 B
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
log_test = [
|
|
{'name': 'log_api', 'sources': ['log_api.cpp'], 'should_fail': true},
|
|
{'name': 'log_process', 'sources': ['log_process.cpp']},
|
|
]
|
|
|
|
foreach test : log_test
|
|
exe = executable(test['name'], test['sources'],
|
|
dependencies : libcamera_private,
|
|
link_with : test_libraries,
|
|
include_directories : test_includes_internal)
|
|
|
|
test(test['name'], exe, suite : 'log',
|
|
should_fail : test.get('should_fail', false))
|
|
endforeach
|