mirror of https://github.com/libsdl-org/SDL.git
testautomation_video: Another Emscripten test to be skipped.
This commit is contained in:
parent
d48d4c8c48
commit
e4778d53d3
|
|
@ -1879,7 +1879,7 @@ static int SDLCALL video_setWindowCenteredOnDisplay(void *arg)
|
||||||
SDLTest_AssertCheck(currentW == w, "Validate width (current: %d, expected: %d)", currentW, w);
|
SDLTest_AssertCheck(currentW == w, "Validate width (current: %d, expected: %d)", currentW, w);
|
||||||
SDLTest_AssertCheck(currentH == h, "Validate height (current: %d, expected: %d)", currentH, h);
|
SDLTest_AssertCheck(currentH == h, "Validate height (current: %d, expected: %d)", currentH, h);
|
||||||
}
|
}
|
||||||
if (video_driver_is_wayland) {
|
if (video_driver_is_emscripten || video_driver_is_wayland) {
|
||||||
SDLTest_Log("Skipping window position validation: %s driver does not support window positioning", video_driver);
|
SDLTest_Log("Skipping window position validation: %s driver does not support window positioning", video_driver);
|
||||||
} else {
|
} else {
|
||||||
SDLTest_AssertCheck(currentX == expectedX, "Validate x (current: %d, expected: %d)", currentX, expectedX);
|
SDLTest_AssertCheck(currentX == expectedX, "Validate x (current: %d, expected: %d)", currentX, expectedX);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue