From 817a4b4472039251944cba131b25f75cc067f9b1 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Sat, 5 Dec 2020 19:31:06 +0900 Subject: tests: Test IPA serializer generation Add a test to confirm that serializer and header generation works properly for mojom definition files, and that the serializer works properly. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- test/serialization/generated_serializer/meson.build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 test/serialization/generated_serializer/meson.build (limited to 'test/serialization/generated_serializer/meson.build') diff --git a/test/serialization/generated_serializer/meson.build b/test/serialization/generated_serializer/meson.build new file mode 100644 index 00000000..2460e0b1 --- /dev/null +++ b/test/serialization/generated_serializer/meson.build @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: CC0-1.0 + +subdir('include/libcamera/ipa') + +exe = executable('generated_serializer_test', + [ + 'generated_serializer_test.cpp', + generated_test_header, + generated_test_serializer, + ], + dependencies : libcamera_dep, + link_with : test_libraries, + include_directories : [ + test_includes_internal, + './include', + ]) + +test('generated_serializer_test', exe, + suite : 'generated_serializer', is_parallel : false) -- cgit v1.2.1