libcamera/test/log/meson.build
Stefan Klug 8ea3ef083f libcamera: test: Add a failing test for the log level parser
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>
2025-06-23 16:39:47 +02:00

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