summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-03 10:57:22 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-03 09:06:47 +0000
commitf6cbeec9c2ba867eddc103a8c197b3e091092def (patch)
tree4339581caa5d5fc67a4f0b220cb65a1770665029
parentaeecd7445639c118a57bab4e74f7c5d91490d11e (diff)
downloadqtquickcontrols-f6cbeec9c2ba867eddc103a8c197b3e091092def.tar.gz
tst_extras: skip crashy test_resize() on Windows
Task-number: QTBUG-53123 Change-Id: If7b33d46828808d869a7e325a908a8a353c35f57 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
-rw-r--r--tests/auto/extras/data/tst_common.qml8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/auto/extras/data/tst_common.qml b/tests/auto/extras/data/tst_common.qml
index 2983103a..8b75838d 100644
--- a/tests/auto/extras/data/tst_common.qml
+++ b/tests/auto/extras/data/tst_common.qml
@@ -65,15 +65,17 @@ TestCase {
];
}
+ function init() {
+ if (Qt.platform.os === "windows")
+ skip("QTBUG-53123");
+ }
+
function cleanup() {
if (control)
control.destroy();
}
function test_resize(data) {
- if (data.tag === "PieMenu" && Qt.platform.os === "windows")
- skip("QTBUG-53123");
-
var qml = data.qml ? data.qml : "import QtQuick.Extras 1.4; " + data.tag + " { }";
control = Qt.createQmlObject(qml, testCase, "");