summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets
diff options
context:
space:
mode:
authorAndreas Buhr <andreas.buhr@qt.io>2020-11-23 17:23:24 +0100
committerAndreas Buhr <andreas.buhr@qt.io>2020-12-01 14:14:45 +0100
commitcaa632803d4180f7d47eaf8b7c9a7d33578d4048 (patch)
treef2a8bc5a56182300fd800d2bf192da63b48503ba /tests/auto/widgets/widgets
parentbb3a53d917a5bc5681df893c8af32db477f41f94 (diff)
Disable some OpenGL and QRhi tests for offscreen backend
This patch disables four failing unit tests when executed with the offscreen backend. Change-Id: Ie67341b886984e6de19cd8dd8a8a237a620a1b7a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/auto/widgets/widgets')
-rw-r--r--tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp
index 1e99bb4074..8e21bb7042 100644
--- a/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp
+++ b/tests/auto/widgets/widgets/qopenglwidget/tst_qopenglwidget.cpp
@@ -587,7 +587,8 @@ void tst_QOpenGLWidget::stackWidgetOpaqueChildIsVisible()
#endif
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("Wayland: This fails. Figure out why.");
-
+ if (QGuiApplication::platformName().startsWith(QLatin1String("offscreen"), Qt::CaseInsensitive))
+ QSKIP("Offscreen: This fails.");
QStackedWidget stack;