-// Copyright (C) 2023 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2023-2025 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// Determine some paths.
Path const this_binary(argv[0]);
string ancestor_path(this_binary.parentPath());
- // TODO: remove kludgy if-condition when autotools are removed.
- if (Path(ancestor_path).filename() == ".libs") {
- ancestor_path = Path(ancestor_path).parentPath();
- }
- cout << ancestor_path << endl;
string const filename(this_binary.filename());
stringstream ss;
ss << ancestor_path << "/input/" << filename;
command: [TOP_BUILD_DIR / 'config-report.sh'],
)
-# TODO: Change to config.h.in when autotools are removed.
configure_file(
input: 'config.h.in',
output: 'config.h',
install_dir: INCLUDEDIR / 'kea',
)
-# TODO: Change to kea_version.h.in when autotools are removed.
configure_file(
input: 'kea_version.h.in',
output: 'kea_version.h',
{
log4cplus::Logger::getDefaultHierarchy().resetConfiguration();
- // Disable log4cplus' own logging, unless --enable-debug was
- // specified to configure. Note that this does not change
+ // Disable log4cplus' own logging, unless "-D tests=enabled" was
+ // pass to "meson setup". Note that this does not change
// LogLog's levels (that is still just INFO).
#ifndef ENABLE_DEBUG
log4cplus::helpers::LogLog::getLogLog()->setQuietMode(true);
# Add an entry to the XML test report.
report_test_result_in_xml() {
- # TODO: Remove this if-statemenet when autotools are removed.
- if test ! -d "@TOP_BUILD_DIR@"; then
- # There is nowhere to report.
- return
- fi
-
# Declarations
local test_name="${1}"; shift
local exit_code="${1}"; shift