From: Fred Morcos Date: Wed, 22 Nov 2023 13:25:45 +0000 (+0100) Subject: Meson: Build unit tests even if backend unit tests aren't enabled X-Git-Tag: rec-5.1.0-alpha1~80^2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7838ce03ed16a86d5372fc1ac296beb0cf32a13a;p=thirdparty%2Fpdns.git Meson: Build unit tests even if backend unit tests aren't enabled --- diff --git a/meson.build b/meson.build index 7996b4516d..3a8d123f68 100644 --- a/meson.build +++ b/meson.build @@ -242,7 +242,7 @@ if get_option('tools-ixfrdist') tools += ['ixfrdist', 'ixplore'] endif -if get_option('unit-tests') or get_option('unit-tests-backends') +if get_option('unit-tests') # TODO: NOINSTALL speedtest and pdns-auth-testrunner tools += ['tsig_tests', 'speedtest', 'pdns-auth-testrunner'] endif diff --git a/pdns/meson.build b/pdns/meson.build index 442e35a14b..490b35e7f7 100644 --- a/pdns/meson.build +++ b/pdns/meson.build @@ -1353,7 +1353,7 @@ if get_option('tools-ixfrdist') } endif -if get_option('unit-tests') or get_option('unit-tests-backends') +if get_option('unit-tests') tool_libs += { 'tsig_tests': { 'main': 'tsig-tests.cc',