summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-02 13:06:23 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-05-02 11:34:43 +0000
commita7b6960cf8fbfd2abb4d719efb09a4d7d24cc10a (patch)
tree80d8332fde0035ac27f788439a760ddede4a57f9 /tests
parent7cef663456e943135f4382498ba7df7e2a80ee98 (diff)
downloadqtquickcontrols-a7b6960cf8fbfd2abb4d719efb09a4d7d24cc10a.tar.gz
tst_extras: skip crashing test_resize(PieMenu)
This has been consistently blocking the qt5 integration, and nobody is able to reproduce the crash locally or when running tests manually in the CI. We don't even know where exactly it crashes, but this change skips the test that we assume to be problematic. Change-Id: Ia5665a542890b90a296d5d068c14e78fc9c3c625 Task-nubmer: QTBUG-53123 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/extras/data/tst_common.qml12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/auto/extras/data/tst_common.qml b/tests/auto/extras/data/tst_common.qml
index 1c6ebc53..2983103a 100644
--- a/tests/auto/extras/data/tst_common.qml
+++ b/tests/auto/extras/data/tst_common.qml
@@ -57,19 +57,23 @@ TestCase {
{ tag: "DelayButton" },
{ tag: "Dial" },
{ tag: "Gauge" },
- { tag: "PieMenu", qml: "import QtQuick.Controls 1.1; import QtQuick.Extras 1.4;"
- + "PieMenu { visible: true; MenuItem { text: 'foo' } }"},
{ tag: "StatusIndicator" },
{ tag: "ToggleButton" },
- { tag: "Tumbler", qml: "import QtQuick.Extras 1.4; Tumbler { TumblerColumn { model: 10 } }" }
+ { tag: "Tumbler", qml: "import QtQuick.Extras 1.4; Tumbler { TumblerColumn { model: 10 } }" },
+ { tag: "PieMenu", qml: "import QtQuick.Controls 1.1; import QtQuick.Extras 1.4;"
+ + "PieMenu { visible: true; MenuItem { text: 'foo' } }"}
];
}
function cleanup() {
- control.destroy();
+ 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, "");