Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
0ad7b650
Commit
0ad7b650
authored
Sep 10, 2011
by
Markus Kauppila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleans up the logger output a bit. Removes fuzzer invocation count
from the log if the fuzzer isn't used.
parent
15c4fb2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
SDL_test.c
test/test-automation/src/libSDLtest/SDL_test.c
+8
-4
No files found.
test/test-automation/src/libSDLtest/SDL_test.c
View file @
0ad7b650
...
@@ -65,7 +65,9 @@ _QuitTestEnvironment()
...
@@ -65,7 +65,9 @@ _QuitTestEnvironment()
_testReturnValue
=
TEST_RESULT_NO_ASSERT
;
_testReturnValue
=
TEST_RESULT_NO_ASSERT
;
}
}
Log
(
time
(
0
),
"Fuzzer invocation count: %d"
,
GetInvocationCount
());
if
(
GetInvocationCount
()
>
0
)
{
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
));
Log
(
time
(
0
),
"Fuzzer invocation count: %d"
,
GetInvocationCount
());
if
(
GetInvocationCount
()
>
0
)
{
Log
(
time
(
0
),
"Fuzzer invocation count: %d"
,
GetInvocationCount
());
}
DeinitFuzzer
();
DeinitFuzzer
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment