Changeset View
Changeset View
Standalone View
Standalone View
src/test/util/setup_common.cpp
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Lines | BasicTestingSetup::BasicTestingSetup( | ||||
std::vector<const char *> arguments = Cat( | std::vector<const char *> arguments = Cat( | ||||
{ | { | ||||
"dummy", | "dummy", | ||||
"-printtoconsole=0", | "-printtoconsole=0", | ||||
"-logtimemicros", | "-logtimemicros", | ||||
"-debug", | "-debug", | ||||
"-debugexclude=libevent", | "-debugexclude=libevent", | ||||
"-debugexclude=leveldb", | "-debugexclude=leveldb", | ||||
"-ecash", | |||||
}, | }, | ||||
extra_args); | extra_args); | ||||
// clang-format on | // clang-format on | ||||
arguments = Cat(arguments, fixture_extra_args); | arguments = Cat(arguments, fixture_extra_args); | ||||
auto &config = const_cast<Config &>(GetConfig()); | auto &config = const_cast<Config &>(GetConfig()); | ||||
SetMockTime(0); | SetMockTime(0); | ||||
fs::create_directories(m_path_root); | fs::create_directories(m_path_root); | ||||
gArgs.ForceSetArg("-datadir", m_path_root.string()); | gArgs.ForceSetArg("-datadir", m_path_root.string()); | ||||
▲ Show 20 Lines • Show All 304 Lines • Show Last 20 Lines |