From: Fred Morcos Date: Mon, 25 Mar 2024 10:34:03 +0000 (+0100) Subject: Meson: Remove unit-tests-verbose and favor meson test --verbose X-Git-Tag: rec-5.1.0-alpha1~80^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfc0a564cc1e1724374df5c24e052b3957d4a231;p=thirdparty%2Fpdns.git Meson: Remove unit-tests-verbose and favor meson test --verbose --- diff --git a/meson.build b/meson.build index ce9ecc634f..f617821c5d 100644 --- a/meson.build +++ b/meson.build @@ -926,7 +926,6 @@ if get_option('unit-tests') test( 'pdns-auth-testrunner', pdns_auth_testrunner, - verbose: get_option('unit-tests-verbose'), env: { 'BOOST_TEST_LOG_LEVEL': 'message', }, @@ -955,8 +954,6 @@ if get_option('module-remote') != 'disabled' and get_option('unit-tests-backends 'REMOTEBACKEND_ZEROMQ': get_option('module-remote-zeromq') ? 'yes' : 'no', } - verbose = get_option('unit-tests-verbose') - foreach test_binary, test_source: module_remotebackend_test_sources_binaries exec_var_name = test_binary.underscorify() @@ -978,7 +975,6 @@ if get_option('module-remote') != 'disabled' and get_option('unit-tests-backends 'pdns-auth-' + test_binary, module_remotebackend_testrunner, args: ['--', get_variable(exec_var_name).full_path()], - verbose: verbose, env: env, workdir: product_source_dir / fs.parent(module_remotebackend_testrunner), is_parallel: false, diff --git a/meson_options.txt b/meson_options.txt index 61966b6946..64d5dc8d2c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -14,7 +14,6 @@ option('dns-over-tls', type: 'boolean', value: false, description: 'DNS over TLS option('ipcipher', type: 'feature', value: 'auto', description: 'IPcipher (requires libcrypto)') option('unit-tests', type: 'boolean', value: false, description: 'Build and run unit tests') option('unit-tests-backends', type: 'boolean', value: false, description: 'Build and run backend unit tests') -option('unit-tests-verbose', type: 'boolean', value: false, description: 'Print more unit test information') option('reproducible', type: 'boolean', value: false, description: 'Reproducible builds (for distro maintainers, makes debugging difficult)') option('fuzz-targets', type: 'boolean', value: false, description: 'Enable fuzzing targets') option('verbose-logging', type: 'boolean', value: false, description: 'Enable verbose logging')