Go to the documentation of this file.
33 main(
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 SDL_Log(
"Usage: %s %s [--iterations #] [--execKey #] [--seed string] [--filter suite_name|test_name]\n",
108 for (
i=0;
i<100;
i++) {
static SDLTest_CommonState * state
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.
SDL_Renderer ** renderers
SDLTest_CommonState * SDLTest_CommonCreateState(char **argv, Uint32 flags)
Parse command line parameters and create common state.
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
void SDLTest_CommonQuit(SDLTest_CommonState *state)
Close test window.
SDLTest_TestSuiteReference * testSuites[]
int SDLTest_CommonArg(SDLTest_CommonState *state, int index)
Process one common argument.
SDL_bool SDLTest_CommonInit(SDLTest_CommonState *state)
Open test window.
static SDL_Renderer * renderer
#define SDL_SetRenderDrawColor
const char * SDLTest_CommonUsage(SDLTest_CommonState *state)
Returns common usage information.
void SDLTest_CommonEvent(SDLTest_CommonState *state, SDL_Event *event, int *done)
Common event handler for test windows.
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)
int main(int argc, char *argv[])