فهرست منبع

testautomation_video: Don't test window position on Emscripten.

This _might_ fix GitHub Actions. We'll know once I push this!  :)
Ryan C. Gordon 5 ماه پیش
والد
کامیت
d48d4c8c48
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      test/testautomation_video.c

+ 1 - 1
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);