Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes
This commit is contained in:
parent
4e42fee6ce
commit
abb05b9c97
8 changed files with 83 additions and 36 deletions
|
@ -42,7 +42,7 @@ timer_getPerformanceCounter(void *arg)
|
|||
|
||||
result = SDL_GetPerformanceCounter();
|
||||
SDLTest_AssertPass("Call to SDL_GetPerformanceCounter()");
|
||||
SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %lu", result);
|
||||
SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %llu", result);
|
||||
|
||||
return TEST_COMPLETED;
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ timer_getPerformanceFrequency(void *arg)
|
|||
|
||||
result = SDL_GetPerformanceFrequency();
|
||||
SDLTest_AssertPass("Call to SDL_GetPerformanceFrequency()");
|
||||
SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %lu", result);
|
||||
SDLTest_AssertCheck(result > 0, "Check result value, expected: >0, got: %llu", result);
|
||||
|
||||
return TEST_COMPLETED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue