CLI: A --bug-hunting flag is needed for the tests

This commit is contained in:
Daniel Marjamäki 2020-02-12 16:30:18 +01:00
parent 403a61bc11
commit cea17acd92
1 changed files with 4 additions and 0 deletions

View File

@ -184,6 +184,10 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
else if (std::strcmp(argv[i], "--inconclusive") == 0) else if (std::strcmp(argv[i], "--inconclusive") == 0)
mSettings->inconclusive = true; mSettings->inconclusive = true;
// A --bug-hunting flag is needed by the tests
else if (std::strcmp(argv[i], "--bug-hunting") == 0)
mSettings->bugHunting = true;
/* /*
else if (std::strncmp(argv[i], "--check-diff=", 13) == 0) { else if (std::strncmp(argv[i], "--check-diff=", 13) == 0) {
std::ifstream fin(argv[i] + 13); std::ifstream fin(argv[i] + 13);