From a7dbf74d72abfe74aaeb3c11dbfa98d43b85b4ec Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 5 Sep 2022 07:55:25 +0100 Subject: [PATCH] test: remove Boost Test from libtest util Context is the discussion here: https://github.com/bitcoin/bitcoin/pull/25974/files#r961541457. --- src/test/util/chainstate.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/util/chainstate.h b/src/test/util/chainstate.h index 13e0e684b87..2f0021b1144 100644 --- a/src/test/util/chainstate.h +++ b/src/test/util/chainstate.h @@ -7,6 +7,7 @@ #include #include +#include #include #include #include @@ -14,8 +15,6 @@ #include -#include - const auto NoMalleation = [](AutoFile& file, node::SnapshotMetadata& meta){}; /** @@ -36,8 +35,8 @@ CreateAndActivateUTXOSnapshot(node::NodeContext& node, const fs::path root, F ma UniValue result = CreateUTXOSnapshot( node, node.chainman->ActiveChainstate(), auto_outfile, snapshot_path, snapshot_path); - BOOST_TEST_MESSAGE( - "Wrote UTXO snapshot to " << fs::PathToString(snapshot_path.make_preferred()) << ": " << result.write()); + LogPrintf( + "Wrote UTXO snapshot to %s: %s", fs::PathToString(snapshot_path.make_preferred()), result.write()); // Read the written snapshot in and then activate it. //