From d48d4c8c4827f93860a1b8d176c6ec071cd1479e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 14 Nov 2024 19:00:10 -0500 Subject: [PATCH] testautomation_video: Don't test window position on Emscripten. This _might_ fix GitHub Actions. We'll know once I push this! :) --- test/testautomation_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_video.c b/test/testautomation_video.c index e9b2433f1a..16c89c644f 100644 --- a/test/testautomation_video.c +++ b/test/testautomation_video.c @@ -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);