Adding elementary support for fuzzing.

New options: --seed [VALUE] --exec-key [EXEC-KEY] --iterations VALUE
This commit is contained in:
Markus Kauppila 2011-07-24 18:21:53 +03:00
parent f1e162b811
commit afbf90dc78
11 changed files with 207 additions and 52 deletions

View file

@ -80,9 +80,10 @@ PlainSuiteEnded(int testsPassed, int testsFailed, int testsSkipped,
}
void
PlainTestStarted(const char *testName, const char *suiteName, const char *testDescription, time_t startTime)
PlainTestStarted(const char *testName, const char *suiteName,
const char *testDescription, int execKey, time_t startTime)
{
Output(indentLevel++, "Executing test: %s (in %s)", testName, suiteName);
Output(indentLevel++, "Executing test: %s (in %s). Execution key: %d", testName, suiteName, execKey);
}
void