meson: move test or fuzzer definitions to relevant meson.build in subdirectories
This commit is contained in:
@@ -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]],
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user