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
1a843299
Commit
1a843299
authored
Aug 28, 2011
by
Markus Kauppila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor cleaning.
parent
f4870f39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
12 deletions
+15
-12
runner.c
test/test-automation/src/runner/runner.c
+14
-10
testrender.c
test/test-automation/tests/testrender/testrender.c
+1
-2
No files found.
test/test-automation/src/runner/runner.c
View file @
1a843299
...
@@ -1310,17 +1310,9 @@ ParseOptions(int argc, char *argv[])
...
@@ -1310,17 +1310,9 @@ ParseOptions(int argc, char *argv[])
}
}
}
}
void
/*!
InitRunner
()
* Entry point for test runner
*
* \param argc Count of command line arguments
* \param argv Array of commond lines arguments
*/
int
main
(
int
argc
,
char
*
argv
[])
{
{
// \todo turn this into something better.
// Inits some global buffers to their default values
// Inits some global buffers to their default values
memcpy
(
log_basename
,
(
void
*
)
DEFAULT_LOG_FILENAME
,
SDL_strlen
(
DEFAULT_LOG_FILENAME
));
memcpy
(
log_basename
,
(
void
*
)
DEFAULT_LOG_FILENAME
,
SDL_strlen
(
DEFAULT_LOG_FILENAME
));
memcpy
(
log_directory
,
(
void
*
)
DEFAULT_LOG_DIRECTORY
,
SDL_strlen
(
DEFAULT_LOG_DIRECTORY
));
memcpy
(
log_directory
,
(
void
*
)
DEFAULT_LOG_DIRECTORY
,
SDL_strlen
(
DEFAULT_LOG_DIRECTORY
));
...
@@ -1329,8 +1321,20 @@ main(int argc, char *argv[])
...
@@ -1329,8 +1321,20 @@ main(int argc, char *argv[])
memset
(
selected_suite_name
,
0
,
NAME_BUFFER_SIZE
);
memset
(
selected_suite_name
,
0
,
NAME_BUFFER_SIZE
);
memset
(
testcase_name_substring
,
0
,
NAME_BUFFER_SIZE
);
memset
(
testcase_name_substring
,
0
,
NAME_BUFFER_SIZE
);
memset
(
xsl_stylesheet_name
,
0
,
NAME_BUFFER_SIZE
);
memset
(
xsl_stylesheet_name
,
0
,
NAME_BUFFER_SIZE
);
}
/*!
* Entry point for test runner
*
* \param argc Count of command line arguments
* \param argv Array of commond lines arguments
*/
int
main
(
int
argc
,
char
*
argv
[])
{
InitRunner
();
ParseOptions
(
argc
,
argv
);
ParseOptions
(
argc
,
argv
);
int
suiteCounter
=
0
;
int
suiteCounter
=
0
;
...
...
test/test-automation/tests/testrender/testrender.c
View file @
1a843299
...
@@ -501,8 +501,7 @@ _testBlitBlendMode( SDL_Texture * tface, int mode )
...
@@ -501,8 +501,7 @@ _testBlitBlendMode( SDL_Texture * tface, int mode )
SDL_Rect
rect
;
SDL_Rect
rect
;
/* Clear surface. */
/* Clear surface. */
if
(
_clearScreen
())
_clearScreen
();
return
-
1
;
/* Steps to take. */
/* Steps to take. */
ni
=
SCREEN_W
-
FACE_W
;
ni
=
SCREEN_W
-
FACE_W
;
...
...
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