summaryrefslogtreecommitdiff
path: root/test/stream/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test/stream/meson.build')
-rw-r--r--test/stream/meson.build17
1 files changed, 10 insertions, 7 deletions
diff --git a/test/stream/meson.build b/test/stream/meson.build
index 005f4aa4..dd77f2f7 100644
--- a/test/stream/meson.build
+++ b/test/stream/meson.build
@@ -1,11 +1,14 @@
+# SPDX-License-Identifier: CC0-1.0
+
stream_tests = [
- [ 'stream_formats', 'stream_formats.cpp' ],
+ {'name': 'stream_colorspace', 'sources': ['stream_colorspace.cpp']},
+ {'name': 'stream_formats', 'sources': ['stream_formats.cpp']},
]
-foreach t : stream_tests
- exe = executable(t[0], t[1],
- dependencies : libcamera_dep,
- link_with : test_libraries,
- include_directories : test_includes_internal)
- test(t[0], exe, suite: 'stream')
+foreach test : stream_tests
+ exe = executable(test['name'], test['sources'],
+ dependencies : libcamera_public,
+ link_with : test_libraries,
+ include_directories : test_includes_internal)
+ test(test['name'], exe, suite : 'stream')
endforeach