diff options
author | Sami Nurmenniemi <sami.nurmenniemi@qt.io> | 2017-12-19 13:41:36 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2017-12-19 12:02:21 +0000 |
commit | 3be9ca58af5a011fdd20a7aba608781865544e01 (patch) | |
tree | 1a8dbf0ef5875ddf0d7fd8dfd06b4cbd00a01610 /tests/auto/controls/data | |
parent | 3aeca5366600fa4f888865012bf6b9e2b5418181 (diff) | |
download | qtquickcontrols-3be9ca58af5a011fdd20a7aba608781865544e01.tar.gz |
Skip test failing because of qemu crash
Lots of tests fail when qemu crashes with output:
"tb_lock: Assertion `!have_tb_lock' failed." These need to be
fixed with QTBUG-65211.
Task-number: QTBUG-65307
Change-Id: I7d7249d2e7c9a18d10e15a6e79f34dc1ec93e5d6
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests/auto/controls/data')
-rw-r--r-- | tests/auto/controls/data/tst_combobox.qml | 7 | ||||
-rw-r--r-- | tests/auto/controls/data/tst_menubar.qml | 2 | ||||
-rw-r--r-- | tests/auto/controls/data/tst_slider.qml | 5 | ||||
-rw-r--r-- | tests/auto/controls/data/tst_splitview.qml | 4 | ||||
-rw-r--r-- | tests/auto/controls/data/tst_tableview.qml | 6 | ||||
-rw-r--r-- | tests/auto/controls/data/tst_tabview.qml | 5 | ||||
-rw-r--r-- | tests/auto/controls/data/tst_treeview.qml | 6 |
7 files changed, 34 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_combobox.qml b/tests/auto/controls/data/tst_combobox.qml index c380c63a..03ed6c7a 100644 --- a/tests/auto/controls/data/tst_combobox.qml +++ b/tests/auto/controls/data/tst_combobox.qml @@ -192,7 +192,9 @@ TestCase { } function test_append_find() { - var comboBox = Qt.createQmlObject( 'import QtQuick.Controls 1.2; \ + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") + var comboBox = Qt.createQmlObject( 'import QtQuick.Controls 1.2; \ import QtQuick 2.2; \ ComboBox { \ model:ListModel{ListElement{text:"first"}} \ @@ -227,6 +229,9 @@ TestCase { } function test_editable() { + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") + var arrayModel = ['Banana', 'Coco', 'Coconut', 'Apple', 'Cocomuffin' ] var comboBox = Qt.createQmlObject('import QtQuick.Controls 1.2; \ ComboBox { \ diff --git a/tests/auto/controls/data/tst_menubar.qml b/tests/auto/controls/data/tst_menubar.qml index ca608475..1aac4c0a 100644 --- a/tests/auto/controls/data/tst_menubar.qml +++ b/tests/auto/controls/data/tst_menubar.qml @@ -160,6 +160,8 @@ TestCase { function test_keyNavigation() { if (Qt.platform.os === "osx") skip("MenuBar cannot be reliably tested on OS X") + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") var window = createTemporaryObject(windowComponent) waitForRendering(window.contentItem) diff --git a/tests/auto/controls/data/tst_slider.qml b/tests/auto/controls/data/tst_slider.qml index e95d26d9..72f8a7c7 100644 --- a/tests/auto/controls/data/tst_slider.qml +++ b/tests/auto/controls/data/tst_slider.qml @@ -81,6 +81,11 @@ Item { Slider {} } + function init() { + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") + } + function test_vertical() { var slider = Qt.createQmlObject('import QtQuick.Controls 1.2; Slider {}', testCase, ''); verify(slider.height < slider.width) diff --git a/tests/auto/controls/data/tst_splitview.qml b/tests/auto/controls/data/tst_splitview.qml index 631e7925..1d04ba02 100644 --- a/tests/auto/controls/data/tst_splitview.qml +++ b/tests/auto/controls/data/tst_splitview.qml @@ -110,6 +110,10 @@ TestCase { } } + function init() { + skip("QTBUG-65211") + } + function test_01_splitView() { var view = splitView.createObject(testCase); verify (view !== null, "splitview created is null") diff --git a/tests/auto/controls/data/tst_tableview.qml b/tests/auto/controls/data/tst_tableview.qml index fe50f241..074cd6ec 100644 --- a/tests/auto/controls/data/tst_tableview.qml +++ b/tests/auto/controls/data/tst_tableview.qml @@ -70,6 +70,12 @@ TestCase { TableViewColumn { } } + function init() { + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") + + } + function test_usingqmlmodel_data() { return [ {tag: "listmodel", a: "tableview/table5_listmodel.qml", expected: "A"}, diff --git a/tests/auto/controls/data/tst_tabview.qml b/tests/auto/controls/data/tst_tabview.qml index c45eab6f..98d747de 100644 --- a/tests/auto/controls/data/tst_tabview.qml +++ b/tests/auto/controls/data/tst_tabview.qml @@ -79,6 +79,11 @@ TestCase { Item {} } + function init() { + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") + } + function test_changeIndex() { var tabView = Qt.createQmlObject('import QtQuick 2.2; import QtQuick.Controls 1.2; TabView { Repeater { model: 3; Tab { Text { text: index } } } }', testCase, ''); compare(tabView.count, 3) diff --git a/tests/auto/controls/data/tst_treeview.qml b/tests/auto/controls/data/tst_treeview.qml index dad10a6b..19ec4b9e 100644 --- a/tests/auto/controls/data/tst_treeview.qml +++ b/tests/auto/controls/data/tst_treeview.qml @@ -82,6 +82,12 @@ Item { property var instance_selectionModel: 'import QtQml.Models 2.2; ItemSelectionModel {}' property var semiIndent: 20/2 // PM_TreeViewIndentation 20 in commonStyle + function init() + { + if (Qt.platform.pluginName === "offscreen") + skip("QTBUG-65211") + } + function cleanup() { // Make sure to delete all children even when the test has failed. |