From: Yu Watanabe Date: Mon, 4 Jan 2021 11:20:03 +0000 (+0900) Subject: meson: use condition argument in test definition X-Git-Tag: v248-rc1~304^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d33b0daa6cb7715f6977c22e955996eb12107462;p=thirdparty%2Fsystemd.git meson: use condition argument in test definition --- diff --git a/src/test/meson.build b/src/test/meson.build index 6f74a4a7d49..656a33de91e 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -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'], +] ############################################################