mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-17 18:28:28 +00:00
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
0d38073a54
commit
52760dcdf1
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