mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-10 21:38:14 +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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user