]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3919] Fix some TODOs related to autotools removal
authorAndrei Pavel <andrei@isc.org>
Thu, 19 Jun 2025 21:47:44 +0000 (00:47 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 20 Jun 2025 11:17:23 +0000 (14:17 +0300)
doc/devel/debug.dox
fuzz/main.cc
meson.build
src/lib/log/logger_manager_impl.cc
src/lib/testutils/xml_reporting_test_lib.sh.in

index 556ed2ebd94317573c83d16376b9c3d7b8fe3d90..d06d3e3c6fe94c4ab11d3e921b9f8e6987be9d15 100644 (file)
@@ -1,4 +1,4 @@
-// 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
index 741d8e7028606e26ced0293eeaeb93311fd4bc3a..82f325dba2086a2b3e43af45c5f9bfd0ed8fead6 100644 (file)
@@ -37,11 +37,6 @@ main(int, char* argv[]) {
     // 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;
index 1d836e90d562ec1674f37e346a8759e84114edfd..426afb8eb9cd0b38d2a2b3ece5b7d1fcb267dcb7 100644 (file)
@@ -1006,7 +1006,6 @@ CONFIG_REPORT = configure_file(
     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',
@@ -1015,7 +1014,6 @@ configure_file(
     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',
index e8c0e066c8ac3bbbb57fed4149183e6ef80eab7a..afb1c15f43888af20cabccdca58909b6506a5c9c 100644 (file)
@@ -251,8 +251,8 @@ void LoggerManagerImpl::initRootLogger(isc::log::Severity severity,
 {
     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);
index b0c1576e57e0c8aed112ba73d3647ac0d692f868..3ded822ec6fc8764dfb42e15ecf1c05f2e058db7 100755 (executable)
@@ -14,12 +14,6 @@ set -eu
 
 # 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