mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
Move MakeNoLogFileContext to common libtest_util, and use it in bench
Can be reviewed with --color-moved=dimmed-zebra
This commit is contained in:
@@ -14,13 +14,7 @@
|
||||
|
||||
static void DuplicateInputs(benchmark::Bench& bench)
|
||||
{
|
||||
TestingSetup test_setup{
|
||||
CBaseChainParams::REGTEST,
|
||||
/* extra_args */ {
|
||||
"-nodebuglogfile",
|
||||
"-nodebug",
|
||||
},
|
||||
};
|
||||
const auto testing_setup = MakeNoLogFileContext<const TestingSetup>();
|
||||
|
||||
const CScript SCRIPT_PUB{CScript(OP_TRUE)};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user