summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-07-13 04:34:36 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2019-07-17 14:36:35 +0900
commit36d62298b20bec1f052fac04fd3011511cc29226 (patch)
treefd9536e5802e317817259c338825942bbf6b830f
parent4cdabcddc5bd5b469c55090c9e51f4e1bf386d75 (diff)
test: logging: move logging tests to a subdirectory
Since there are two logging tests now, move them to their own subdirectory. Update meson as necessary. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--test/log/log_api.cpp (renamed from test/log.cpp)0
-rw-r--r--test/log/log_process.cpp (renamed from test/log_process.cpp)0
-rw-r--r--test/log/meson.build13
-rw-r--r--test/meson.build3
4 files changed, 14 insertions, 2 deletions
diff --git a/test/log.cpp b/test/log/log_api.cpp
index 33622f84..33622f84 100644
--- a/test/log.cpp
+++ b/test/log/log_api.cpp
diff --git a/test/log_process.cpp b/test/log/log_process.cpp
index 36d25b27..36d25b27 100644
--- a/test/log_process.cpp
+++ b/test/log/log_process.cpp
diff --git a/test/log/meson.build b/test/log/meson.build
new file mode 100644
index 00000000..95f6c1a2
--- /dev/null
+++ b/test/log/meson.build
@@ -0,0 +1,13 @@
+log_test = [
+ ['log_api', 'log_api.cpp'],
+ ['log_process', 'log_process.cpp'],
+]
+
+foreach t : log_test
+ exe = executable(t[0], t[1],
+ dependencies : libcamera_dep,
+ link_with : test_libraries,
+ include_directories : test_includes_internal)
+
+ test(t[0], exe, suite : 'log')
+endforeach
diff --git a/test/meson.build b/test/meson.build
index 658f283e..b2f809e6 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -4,6 +4,7 @@ subdir('camera')
subdir('controls')
subdir('ipa')
subdir('ipc')
+subdir('log')
subdir('media_device')
subdir('pipeline')
subdir('process')
@@ -22,8 +23,6 @@ public_tests = [
internal_tests = [
['camera-sensor', 'camera-sensor.cpp'],
- ['log', 'log.cpp'],
- ['log_process', 'log_process.cpp'],
['message', 'message.cpp'],
['signal-threads', 'signal-threads.cpp'],
['threads', 'threads.cpp'],