libcamera/test/serialization/meson.build
Kieran Bingham a881b90b5d test: serialization: Prevent parallelisation
The ipa_data_serializer_test is configured to be able to run in parallel
with other tests.

If the test tries to acquire the VIMC sensor B while it is in use, it
would skip require skipping the test.

Instead, inform meson that it can not be run in parallel to ensure that
the test is able to obtain the resources it requires for execution.

Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2021-09-15 16:35:25 +01:00

16 lines
567 B
Meson

# SPDX-License-Identifier: CC0-1.0
subdir('generated_serializer')
serialization_tests = [
['control_serialization', 'control_serialization.cpp'],
['ipa_data_serializer_test', 'ipa_data_serializer_test.cpp'],
]
foreach t : serialization_tests
exe = executable(t[0], [t[1], 'serialization_test.cpp'],
dependencies : libcamera_private,
link_with : test_libraries,
include_directories : test_includes_internal)
test(t[0], exe, suite : 'serialization', is_parallel : false)
endforeach