Files
external_libcamera/test/ipa/libipa/meson.build
T
Stefan Klug e33814c65b test: ipa: Add failing test for single point Pwl
Sometimes it is useful to have a Pwl with only a single point defined.
A practical use case is tuning files with only a single entry for Pwl
related parameters, where the expectation is that this entry just gets
used.

Add a failing test case for such a single point Pwl.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2025-07-18 13:53:55 +02:00

21 lines
810 B
Meson

# SPDX-License-Identifier: CC0-1.0
libipa_test = [
{'name': 'fixedpoint', 'sources': ['fixedpoint.cpp']},
{'name': 'histogram', 'sources': ['histogram.cpp']},
{'name': 'interpolator', 'sources': ['interpolator.cpp']},
{'name': 'pwl', 'sources': ['pwl.cpp'], 'should_fail': true },
]
foreach test : libipa_test
exe = executable(test['name'], test['sources'],
dependencies : [libcamera_private, libipa_dep],
implicit_include_directories : false,
link_with : [test_libraries],
include_directories : [test_includes_internal,
'../../../src/ipa/libipa/'])
test(test['name'], exe, suite : 'ipa',
should_fail : test.get('should_fail', false))
endforeach