meson: move test or fuzzer definitions to relevant meson.build in subdirectories

This commit is contained in:
Yu Watanabe
2021-01-19 07:06:32 +09:00
parent b5c34d6bf1
commit e025c9dfe3
13 changed files with 342 additions and 307 deletions
+14
View File
@@ -46,6 +46,8 @@ libnspawn_core = static_library(
systemd_nspawn_sources = files('nspawn.c')
############################################################
tests += [
[['src/nspawn/test-nspawn-tables.c'],
[libnspawn_core,
@@ -58,3 +60,15 @@ tests += [
[libacl],
[], '', 'manual'],
]
fuzzers += [
[['src/nspawn/fuzz-nspawn-settings.c'],
[libshared,
libnspawn_core],
[libseccomp]],
[['src/nspawn/fuzz-nspawn-oci.c'],
[libshared,
libnspawn_core],
[libseccomp]],
]