diff options
author | fanquake <fanquake@gmail.com> | 2022-09-05 07:55:25 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-09-05 07:59:34 +0100 |
commit | a7dbf74d72abfe74aaeb3c11dbfa98d43b85b4ec (patch) | |
tree | 6275859f24fafe2afb7e4b9356759f11fcce63a2 /src | |
parent | 0ebd4db32b39cb7c505148f090df4b7ac778c307 (diff) | |
download | bitcoin-a7dbf74d72abfe74aaeb3c11dbfa98d43b85b4ec.tar.xz |
test: remove Boost Test from libtest util
Context is the discussion here:
https://github.com/bitcoin/bitcoin/pull/25974/files#r961541457.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/util/chainstate.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/test/util/chainstate.h b/src/test/util/chainstate.h index 13e0e684b8..2f0021b114 100644 --- a/src/test/util/chainstate.h +++ b/src/test/util/chainstate.h @@ -7,6 +7,7 @@ #include <clientversion.h> #include <fs.h> +#include <logging.h> #include <node/context.h> #include <node/utxo_snapshot.h> #include <rpc/blockchain.h> @@ -14,8 +15,6 @@ #include <univalue.h> -#include <boost/test/unit_test.hpp> - 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. // |