Skip to content

Commit a7dbf74

Browse files
committed
test: remove Boost Test from libtest util
Context is the discussion here: https://github.com/bitcoin/bitcoin/pull/25974/files#r961541457.
1 parent 0ebd4db commit a7dbf74

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/test/util/chainstate.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
77

88
#include <clientversion.h>
99
#include <fs.h>
10+
#include <logging.h>
1011
#include <node/context.h>
1112
#include <node/utxo_snapshot.h>
1213
#include <rpc/blockchain.h>
1314
#include <validation.h>
1415

1516
#include <univalue.h>
1617

17-
#include <boost/test/unit_test.hpp>
18-
1918
const auto NoMalleation = [](AutoFile& file, node::SnapshotMetadata& meta){};
2019

2120
/**
@@ -36,8 +35,8 @@ CreateAndActivateUTXOSnapshot(node::NodeContext& node, const fs::path root, F ma
3635

3736
UniValue result = CreateUTXOSnapshot(
3837
node, node.chainman->ActiveChainstate(), auto_outfile, snapshot_path, snapshot_path);
39-
BOOST_TEST_MESSAGE(
40-
"Wrote UTXO snapshot to " << fs::PathToString(snapshot_path.make_preferred()) << ": " << result.write());
38+
LogPrintf(
39+
"Wrote UTXO snapshot to %s: %s", fs::PathToString(snapshot_path.make_preferred()), result.write());
4140

4241
// Read the written snapshot in and then activate it.
4342
//

0 commit comments

Comments
 (0)