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>
This commit is contained in:
parent
4cdabcddc5
commit
36d62298b2
4 changed files with 14 additions and 2 deletions
13
test/log/meson.build
Normal file
13
test/log/meson.build
Normal file
|
@ -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
|
|
@ -4,6 +4,7 @@ subdir('camera')
|
||||||
subdir('controls')
|
subdir('controls')
|
||||||
subdir('ipa')
|
subdir('ipa')
|
||||||
subdir('ipc')
|
subdir('ipc')
|
||||||
|
subdir('log')
|
||||||
subdir('media_device')
|
subdir('media_device')
|
||||||
subdir('pipeline')
|
subdir('pipeline')
|
||||||
subdir('process')
|
subdir('process')
|
||||||
|
@ -22,8 +23,6 @@ public_tests = [
|
||||||
|
|
||||||
internal_tests = [
|
internal_tests = [
|
||||||
['camera-sensor', 'camera-sensor.cpp'],
|
['camera-sensor', 'camera-sensor.cpp'],
|
||||||
['log', 'log.cpp'],
|
|
||||||
['log_process', 'log_process.cpp'],
|
|
||||||
['message', 'message.cpp'],
|
['message', 'message.cpp'],
|
||||||
['signal-threads', 'signal-threads.cpp'],
|
['signal-threads', 'signal-threads.cpp'],
|
||||||
['threads', 'threads.cpp'],
|
['threads', 'threads.cpp'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue