Commit 0ad7b650 authored by Markus Kauppila's avatar Markus Kauppila

Cleans up the logger output a bit. Removes fuzzer invocation count

from the log if the fuzzer isn't used.
parent 15c4fb2a
...@@ -65,7 +65,9 @@ _QuitTestEnvironment() ...@@ -65,7 +65,9 @@ _QuitTestEnvironment()
_testReturnValue = TEST_RESULT_NO_ASSERT; _testReturnValue = TEST_RESULT_NO_ASSERT;
} }
if(GetInvocationCount() > 0) {
Log(time(0), "Fuzzer invocation count: %d", GetInvocationCount()); Log(time(0), "Fuzzer invocation count: %d", GetInvocationCount());
}
DeinitFuzzer(); DeinitFuzzer();
...@@ -78,8 +80,8 @@ _CountFailedAsserts() { ...@@ -78,8 +80,8 @@ _CountFailedAsserts() {
} }
/*! /*!
* Bail out from test case. For example, function is used to bail out * Bail out from test case. For example, the function is used to bail out
* after failed assert. * from a test case after a failed assert.
*/ */
void void
_BailOut() _BailOut()
...@@ -90,7 +92,9 @@ _BailOut() ...@@ -90,7 +92,9 @@ _BailOut()
AssertSummary(_testAssertsFailed + _testAssertsPassed, AssertSummary(_testAssertsFailed + _testAssertsPassed,
_testAssertsFailed, _testAssertsPassed, time(0)); _testAssertsFailed, _testAssertsPassed, time(0));
if(GetInvocationCount() > 0) {
Log(time(0), "Fuzzer invocation count: %d", GetInvocationCount()); Log(time(0), "Fuzzer invocation count: %d", GetInvocationCount());
}
DeinitFuzzer(); DeinitFuzzer();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment