From 6f46f85899b425729d595af6461c6dbe3f4f7e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 5 Aug 2024 15:53:25 +0200 Subject: [PATCH] tst_QWindow::framePositioning: Skip on Android and fullscreen-only systems MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The framePositioning test was split out from the positioning test, but without the existing skips. Turns out we do need the same skips, so add them. Pick-to: 6.8 Change-Id: Ib5d1cdf474a3a88a154c7cdc8df346668c8053d6 Reviewed-by: Tinja Paavoseppä --- tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index ff961d339c4..23f99dad5f9 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -608,6 +608,13 @@ void tst_QWindow::framePositioning_data() void tst_QWindow::framePositioning() { +#ifdef Q_OS_ANDROID + QSKIP("Fails on Android. QTBUG-105201"); +#endif + if (!QGuiApplicationPrivate::platformIntegration()->hasCapability( + QPlatformIntegration::NonFullScreenWindows)) { + QSKIP("This platform does not support non-fullscreen windows"); + } if (isPlatformWayland()) QSKIP("Wayland: This fails. See QTBUG-68660.");