summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/rhi/qrhi/tst_qrhi.cpp')
-rw-r--r--tests/auto/gui/rhi/qrhi/tst_qrhi.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
index 08a9bb3f95..643720d4fc 100644
--- a/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
+++ b/tests/auto/gui/rhi/qrhi/tst_qrhi.cpp
@@ -2783,6 +2783,9 @@ void tst_QRhi::renderToWindowSimple_data()
void tst_QRhi::renderToWindowSimple()
{
+ if (QGuiApplication::platformName().startsWith(QLatin1String("offscreen"), Qt::CaseInsensitive))
+ QSKIP("Offscreen: This fails.");
+
QFETCH(QRhi::Implementation, impl);
QFETCH(QRhiInitParams *, initParams);
@@ -2918,6 +2921,9 @@ void tst_QRhi::finishWithinSwapchainFrame_data()
void tst_QRhi::finishWithinSwapchainFrame()
{
+ if (QGuiApplication::platformName().startsWith(QLatin1String("offscreen"), Qt::CaseInsensitive))
+ QSKIP("Offscreen: This fails.");
+
QFETCH(QRhi::Implementation, impl);
QFETCH(QRhiInitParams *, initParams);