meson: use condition argument in test definition
This commit is contained in:
+11
-14
@@ -545,21 +545,18 @@ tests += [
|
||||
[['src/test/test-qrcode-util.c'],
|
||||
[],
|
||||
[libdl]],
|
||||
]
|
||||
|
||||
if conf.get('ENABLE_NSCD') == 1
|
||||
tests += [
|
||||
[['src/test/test-nscd-flush.c'],
|
||||
[libcore,
|
||||
libshared],
|
||||
[threads,
|
||||
librt,
|
||||
libseccomp,
|
||||
libselinux,
|
||||
libmount,
|
||||
libblkid],
|
||||
[], '', 'manual']]
|
||||
endif
|
||||
[['src/test/test-nscd-flush.c'],
|
||||
[libcore,
|
||||
libshared],
|
||||
[threads,
|
||||
librt,
|
||||
libseccomp,
|
||||
libselinux,
|
||||
libmount,
|
||||
libblkid],
|
||||
[], 'ENABLE_NSCD', 'manual'],
|
||||
]
|
||||
|
||||
############################################################
|
||||
|
||||
|
||||
Reference in New Issue
Block a user