Logger logs harness seed and test execution keys in hex representation.

This commit is contained in:
Markus Kauppila 2011-07-25 19:33:32 +03:00
parent 279a841b64
commit 46f39ab285
12 changed files with 71 additions and 32 deletions

View file

@ -37,10 +37,11 @@ Output(const int currentIndentLevel, const char *message, ...)
}
void
PlainRunStarted(int parameterCount, char *runnerParameters[], time_t eventTime,
void *data)
PlainRunStarted(int parameterCount, char *runnerParameters[], char *runSeed,
time_t eventTime, void *data)
{
Output(indentLevel, "Test run started at %s", TimestampToString(eventTime));
Output(indentLevel, "Fuzzer seed is %s", runSeed);
Output(indentLevel, "Runner parameters: ");
int counter = 0;
@ -83,7 +84,7 @@ void
PlainTestStarted(const char *testName, const char *suiteName,
const char *testDescription, int execKey, time_t startTime)
{
Output(indentLevel++, "Executing test: %s (in %s). Execution key: %d", testName, suiteName, execKey);
Output(indentLevel++, "Executing test: %s (in %s). Exec key: %X", testName, suiteName, execKey);
}
void