test: remove Boost Test from libtest util

Context is the discussion here:
https://github.com/bitcoin/bitcoin/pull/25974/files#r961541457.
This commit is contained in:
fanquake 2022-09-05 07:55:25 +01:00
parent 0ebd4db32b
commit a7dbf74d72
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -7,6 +7,7 @@
#include <clientversion.h> #include <clientversion.h>
#include <fs.h> #include <fs.h>
#include <logging.h>
#include <node/context.h> #include <node/context.h>
#include <node/utxo_snapshot.h> #include <node/utxo_snapshot.h>
#include <rpc/blockchain.h> #include <rpc/blockchain.h>
@ -14,8 +15,6 @@
#include <univalue.h> #include <univalue.h>
#include <boost/test/unit_test.hpp>
const auto NoMalleation = [](AutoFile& file, node::SnapshotMetadata& meta){}; 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( UniValue result = CreateUTXOSnapshot(
node, node.chainman->ActiveChainstate(), auto_outfile, snapshot_path, snapshot_path); node, node.chainman->ActiveChainstate(), auto_outfile, snapshot_path, snapshot_path);
BOOST_TEST_MESSAGE( LogPrintf(
"Wrote UTXO snapshot to " << fs::PathToString(snapshot_path.make_preferred()) << ": " << result.write()); "Wrote UTXO snapshot to %s: %s", fs::PathToString(snapshot_path.make_preferred()), result.write());
// Read the written snapshot in and then activate it. // Read the written snapshot in and then activate it.
// //