Skip to content

Commit

Permalink
testautomation_video: Don't test window position on Emscripten.
Browse files Browse the repository at this point in the history
This _might_ fix GitHub Actions. We'll know once I push this!  :)
  • Loading branch information
icculus committed Nov 15, 2024
1 parent f0b61c6 commit d48d4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testautomation_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@ static int SDLCALL video_setWindowCenteredOnDisplay(void *arg)
SDLTest_AssertCheck(currentW == w, "Validate width (current: %d, expected: %d)", currentW, w);
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);
} else {
SDLTest_AssertCheck(currentX == expectedX, "Validate x (current: %d, expected: %d)", currentX, expectedX);
Expand Down

0 comments on commit d48d4c8

Please sign in to comment.