From 7838ce03ed16a86d5372fc1ac296beb0cf32a13a Mon Sep 17 00:00:00 2001 From: Fred Morcos Date: Wed, 22 Nov 2023 14:25:45 +0100 Subject: [PATCH] Meson: Build unit tests even if backend unit tests aren't enabled --- meson.build | 2 +- pdns/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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', -- 2.47.2