SDL_test_harness.c: avoid -Wwrite-strings
parent
be7b663c2c
commit
c7aa04d03e
|
@ -377,8 +377,8 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
||||||
SDLTest_TestSuiteReference *testSuite;
|
SDLTest_TestSuiteReference *testSuite;
|
||||||
const SDLTest_TestCaseReference *testCase;
|
const SDLTest_TestCaseReference *testCase;
|
||||||
const char *runSeed = NULL;
|
const char *runSeed = NULL;
|
||||||
char *currentSuiteName;
|
const char *currentSuiteName;
|
||||||
char *currentTestName;
|
const char *currentTestName;
|
||||||
Uint64 execKey;
|
Uint64 execKey;
|
||||||
float runStartSeconds;
|
float runStartSeconds;
|
||||||
float suiteStartSeconds;
|
float suiteStartSeconds;
|
||||||
|
@ -388,9 +388,9 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
||||||
float testEndSeconds;
|
float testEndSeconds;
|
||||||
float runtime;
|
float runtime;
|
||||||
int suiteFilter = 0;
|
int suiteFilter = 0;
|
||||||
char *suiteFilterName = NULL;
|
const char *suiteFilterName = NULL;
|
||||||
int testFilter = 0;
|
int testFilter = 0;
|
||||||
char *testFilterName = NULL;
|
const char *testFilterName = NULL;
|
||||||
SDL_bool forceTestRun = SDL_FALSE;
|
SDL_bool forceTestRun = SDL_FALSE;
|
||||||
int testResult = 0;
|
int testResult = 0;
|
||||||
int runResult = 0;
|
int runResult = 0;
|
||||||
|
@ -419,7 +419,6 @@ int SDLTest_RunSuites(SDLTest_TestSuiteReference *testSuites[], const char *user
|
||||||
runSeed = userRunSeed;
|
runSeed = userRunSeed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Reset per-run counters */
|
/* Reset per-run counters */
|
||||||
totalTestFailedCount = 0;
|
totalTestFailedCount = 0;
|
||||||
totalTestPassedCount = 0;
|
totalTestPassedCount = 0;
|
||||||
|
|
Loading…
Reference in New Issue