Skip to content

Commit

Permalink
fuzz: Disable debug log file
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoFalke committed Apr 15, 2020
1 parent fa0cbd4 commit fa69f88
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions src/test/fuzz/process_message.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"}},
};

const RegTestingSetup* g_setup;
const TestingSetup* g_setup;
} // namespace

void initialize()
{
static RegTestingSetup setup{};
static TestingSetup setup{
CBaseChainParams::REGTEST,
{
"-nodebuglogfile",
},
};
g_setup = &setup;

for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
Expand Down
9 changes: 7 additions & 2 deletions src/test/fuzz/process_messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,16 @@
#include <validation.h>
#include <validationinterface.h>

const RegTestingSetup* g_setup;
const TestingSetup* g_setup;

void initialize()
{
static RegTestingSetup setup{};
static TestingSetup setup{
CBaseChainParams::REGTEST,
{
"-nodebuglogfile",
},
};
g_setup = &setup;

for (int i = 0; i < 2 * COINBASE_MATURITY; i++) {
Expand Down

0 comments on commit fa69f88

Please sign in to comment.