fuzz: Disable debug log file

This commit is contained in:
MarcoFalke committed 2020-04-15 15:13:11 -04:00
1 parent fa0cbd48c4
commit fa69f88486
2 files changed
+14 -4

No files matched your search

+7 -2
View File
@@ -57,12 +57,17 @@ const std::map<std::string, std::set<std::string>> EXPECTED_DESERIALIZATION_EXCE
{"Unknown transaction optional data: iostream error", {"block", "blocktxn", "cmpctblock", "tx"}}, {"Unknown transaction optional data: iostream error", {"block", "blocktxn", "cmpctblock", "tx"}},
}; };
const RegTestingSetup* g_setup; const TestingSetup* g_setup;
} // namespace } // namespace
void initialize() void initialize()
{ {
static RegTestingSetup setup{}; static TestingSetup setup{
CBaseChainParams::REGTEST,
{
"-nodebuglogfile",
},
};
g_setup = &setup; g_setup = &setup;
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) { for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
+7 -2
View File
@@ -16,11 +16,16 @@
#include <validation.h> #include <validation.h>
#include <validationinterface.h> #include <validationinterface.h>
const RegTestingSetup* g_setup; const TestingSetup* g_setup;
void initialize() void initialize()
{ {
static RegTestingSetup setup{}; static TestingSetup setup{
CBaseChainParams::REGTEST,
{
"-nodebuglogfile",
},
};
g_setup = &setup; g_setup = &setup;
for (int i = 0; i < 2 * COINBASE_MATURITY; i++) { for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {