Move MakeNoLogFileContext to common libtest_util, and use it in bench

Can be reviewed with --color-moved=dimmed-zebra
This commit is contained in:
MarcoFalke
2021-01-25 12:22:03 +01:00
parent cfce346508
commit fa576b4532
15 changed files with 38 additions and 52 deletions

View File

@@ -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)};