aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickborderimage
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@qt.io>2016-06-03 13:51:46 +0200
committerAndy Nichols <andy.nichols@qt.io>2016-06-07 09:18:08 +0000
commitad5b72ab28ad91a5be498f0424cdf50678574ff8 (patch)
tree67f08ff826e605d446f06cad8a0ada1109bbe54d /tests/auto/quick/qquickborderimage
parent4f501e364e2cc89efdc9d41b0aee52ff000393fe (diff)
Skip mirroring tests with software adaptation
Results are false positives for test failures when run due to small differences in smoothing and scaling. Change-Id: I95a75b6dd5d4bc97f0fc24167510477b11ab4b9e Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'tests/auto/quick/qquickborderimage')
-rw-r--r--tests/auto/quick/qquickborderimage/tst_qquickborderimage.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickborderimage/tst_qquickborderimage.cpp b/tests/auto/quick/qquickborderimage/tst_qquickborderimage.cpp
index 40cead6ac0..5d242fab9e 100644
--- a/tests/auto/quick/qquickborderimage/tst_qquickborderimage.cpp
+++ b/tests/auto/quick/qquickborderimage/tst_qquickborderimage.cpp
@@ -246,6 +246,11 @@ void tst_qquickborderimage::mirror()
image->setProperty("mirror", true);
screenshot = window->grabWindow();
+
+ window->show();
+ QTest::qWaitForWindowExposed(window);
+ if (window->rendererInterface()->graphicsApi() == QSGRendererInterface::Software)
+ QSKIP("QTBUG-53823");
QCOMPARE(screenshot, srcPixmap);
delete window;