Fix the eval() function for Pwls that contain only a single point. Remove the should_fail from the corresponding test case. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
21 lines
789 B
Meson
21 lines
789 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'] },
|
|
]
|
|
|
|
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
|