diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-05-08 14:48:46 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-05-11 15:28:35 +0200 |
commit | 6b45520db643535b03262344ed77f05920eee14c (patch) | |
tree | 1d8ae4d02afdffb720734270c4e95583f5bae2c8 /tests | |
parent | 2ec94364f1bf58502747fc42597716aa2a8d19ae (diff) |
qquickwindow test: Fix incorrect expectation
It works correctly in Qt 6. Previously running with the software backend
(which is exercised by the QEMU-based CI configurations) had a bug
in postJob(). A side effect of the RHI-related changes is that this is
corrected so the QEXPECT_FAIL is no longer necessary.
Change-Id: I6167856f1df6689707a1934a71bf668d0b051aec
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp index 604ac0e12e..9b88946090 100644 --- a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp +++ b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp @@ -2531,9 +2531,6 @@ void tst_qquickwindow::testRenderJob() window.scheduleRenderJob(new RenderJob(QQuickWindow::NoStage, &completedJobs), QQuickWindow::NoStage); QTRY_COMPARE(RenderJob::deleted, 1); - if ((QGuiApplication::platformName() == QLatin1String("offscreen")) - || (QGuiApplication::platformName() == QLatin1String("minimal"))) - QEXPECT_FAIL("", "NoStage job fails on offscreen/minimal platforms", Continue); QCOMPARE(completedJobs.size(), 1); #if QT_CONFIG(opengl) |