src/test/SDL_test_harness.c
changeset 6768 22c37bf0afbc
parent 6763 9cbd31a3450b
child 6771 55337ff4256f
equal deleted inserted replaced
6767:0d46fb7f06d4 6768:22c37bf0afbc
   330 * \param filter Filter specification. NULL disables. Case sensitive.
   330 * \param filter Filter specification. NULL disables. Case sensitive.
   331 * \param testIterations Number of iterations to run each test case.
   331 * \param testIterations Number of iterations to run each test case.
   332 *
   332 *
   333 * \returns Test run result; 0 when all tests passed, 1 if any tests failed.
   333 * \returns Test run result; 0 when all tests passed, 1 if any tests failed.
   334 */
   334 */
   335 int
   335 int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *userRunSeed, Uint64 userExecKey, const char *filter, int testIterations)
   336 	SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], char *userRunSeed, Uint64 userExecKey, char *filter, int testIterations)
       
   337 {
   336 {
   338 	int suiteCounter;
   337 	int suiteCounter;
   339 	int testCounter;
   338 	int testCounter;
   340 	int iterationCounter;
   339 	int iterationCounter;
   341 	SDLTest_TestSuiteReference *testSuite;
   340 	SDLTest_TestSuiteReference *testSuite;
   342 	SDLTest_TestCaseReference *testCase;
   341 	SDLTest_TestCaseReference *testCase;
   343 	char *runSeed = NULL;
   342 	const char *runSeed = NULL;
   344 	char *currentSuiteName;
   343 	char *currentSuiteName;
   345 	char *currentTestName;
   344 	char *currentTestName;
   346 	Uint64 execKey;
   345 	Uint64 execKey;
   347 	float runStartSeconds;
   346 	float runStartSeconds;
   348 	float suiteStartSeconds;
   347 	float suiteStartSeconds;