summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2024-03-20 21:18:06 +0100
committerLiang Qi <liang.qi@qt.io>2024-03-22 09:53:06 +0100
commit91079e64d89be5dbec6c9f33f84d3e483aec31e0 (patch)
treedad8fb26f609bae35cfb289806144f6f0c4ef201
parente0940081bc7439d87d9ca41402a543a9c17fb857 (diff)
tests: skip tst_QApplication::abortQuitOnShow() on Wayland
The test started to "crash" since 576c9160b12ac5efc76d06ca7ccc856aad2b051a. Task-number: QTBUG-123172 Change-Id: I16c78f517f718510aa22a2e24ed3d502edae52e5 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
-rw-r--r--tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
index 7c2091186c..b71a7a0a31 100644
--- a/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
+++ b/tests/auto/widgets/kernel/qapplication/tst_qapplication.cpp
@@ -2609,6 +2609,9 @@ private:
void tst_QApplication::abortQuitOnShow()
{
+ if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
+ QSKIP("Wayland: This crash, see QTBUG-123172.");
+
int argc = 0;
QApplication app(argc, nullptr);
ShowCloseShowWidget window1(false);