diff options
author | Liang Qi <liang.qi@qt.io> | 2018-01-25 19:52:28 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-01-25 19:23:16 +0000 |
commit | ac6f4903aeb2e8399b5aa538b35a760f0392568c (patch) | |
tree | 374f11f0bb9d2d82dba35c5b2d55ecacb9b90dfa /tests/auto | |
parent | 3ca1bde1e34bbe4deba2c3344da790d632252e17 (diff) |
tst_qquickiconlabel: skip colorChanges() that grabToImage() on offscreen platforms
The LinuxQEMUarm64GCC and LinuxQEMUarmv7GCC CI platform fails because they
use QT_QPA_PLATFORM=offscreen, and grabToImage() doesn't work on
offscreen platforms.
Task-number: QTBUG-63185
Change-Id: Ifac43dfa26182e3b518397fa070bb4d4a62114e0
Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qquickiconlabel/tst_qquickiconlabel.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qquickiconlabel/tst_qquickiconlabel.cpp b/tests/auto/qquickiconlabel/tst_qquickiconlabel.cpp index a251b471..1f00d8e7 100644 --- a/tests/auto/qquickiconlabel/tst_qquickiconlabel.cpp +++ b/tests/auto/qquickiconlabel/tst_qquickiconlabel.cpp @@ -295,6 +295,9 @@ void tst_qquickiconlabel::emptyIconSource() void tst_qquickiconlabel::colorChanges() { + if (QGuiApplication::platformName() == QLatin1String("offscreen")) + QSKIP("grabToImage() doesn't work on the \"offscreen\" platform plugin (QTBUG-63185)"); + QQuickView view(testFileUrl("colorChanges.qml")); QCOMPARE(view.status(), QQuickView::Ready); view.show(); |