summaryrefslogtreecommitdiff
path: root/test/serialization/generated_serializer/meson.build
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2020-12-05 19:31:06 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2021-03-02 19:27:35 +0900
commit817a4b4472039251944cba131b25f75cc067f9b1 (patch)
tree21af1e53705f0fc8c17123507d58e80482b0f6fc /test/serialization/generated_serializer/meson.build
parentf70d5b14d611e2d2942a2fc8813669f604377303 (diff)
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 <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/serialization/generated_serializer/meson.build')
-rw-r--r--test/serialization/generated_serializer/meson.build19
1 files changed, 19 insertions, 0 deletions
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)