33main(
int argc,
char *argv[])
36 int testIterations = 1;
38 char *userRunSeed =
NULL;
50 for (
i = 1;
i < argc;) {
59 if (testIterations < 1) testIterations = 1;
83 static const char *options[] = {
"[--iterations #]",
"[--execKey #]",
"[--seed string]",
"[--filter suite_name|test_name]",
NULL };
108 for (
i=0;
i<100;
i++) {
#define SDL_SetRenderDrawColor
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
void SDLTest_CommonQuit(SDLTest_CommonState *state)
Close test window.
SDLTest_CommonState * SDLTest_CommonCreateState(char **argv, Uint32 flags)
Parse command line parameters and create common state.
void SDLTest_CommonEvent(SDLTest_CommonState *state, SDL_Event *event, int *done)
Common event handler for test windows.
int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
Process one common argument.
SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
Open test window.
void SDLTest_CommonLogUsage(SDLTest_CommonState *state, const char *argv0, const char **options)
Logs command line usage info.
int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *userRunSeed, Uint64 userExecKey, const char *filter, int testIterations)
Execute a test suite using the given run seed and execution key.
return Display return Display Bool Bool int int int return Display XEvent Bool(*) XPointer return Display return Display Drawable _Xconst char unsigned int unsigned int return Display Pixmap Pixmap XColor XColor unsigned int unsigned int return Display _Xconst char char int char return Display Visual unsigned int int int char unsigned int unsigned int in i)
SDL_Renderer ** renderers
static SDL_Renderer * renderer
int main(int argc, char *argv[])
static SDLTest_CommonState * state
SDLTest_TestSuiteReference * testSuites[]