summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSami Nurmenniemi <sami.nurmenniemi@qt.io>2017-12-19 13:41:36 +0200
committerLiang Qi <liang.qi@qt.io>2017-12-19 12:02:21 +0000
commit3be9ca58af5a011fdd20a7aba608781865544e01 (patch)
tree1a8dbf0ef5875ddf0d7fd8dfd06b4cbd00a01610
parent3aeca5366600fa4f888865012bf6b9e2b5418181 (diff)
downloadqtquickcontrols-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>
-rw-r--r--tests/auto/controls/data/tst_combobox.qml7
-rw-r--r--tests/auto/controls/data/tst_menubar.qml2
-rw-r--r--tests/auto/controls/data/tst_slider.qml5
-rw-r--r--tests/auto/controls/data/tst_splitview.qml4
-rw-r--r--tests/auto/controls/data/tst_tableview.qml6
-rw-r--r--tests/auto/controls/data/tst_tabview.qml5
-rw-r--r--tests/auto/controls/data/tst_treeview.qml6
-rw-r--r--tests/auto/extras/data/tst_circulartickmarklabel.qml3
-rw-r--r--tests/auto/extras/data/tst_common.qml2
-rw-r--r--tests/auto/extras/data/tst_delaybutton.qml5
-rw-r--r--tests/auto/extras/data/tst_piemenu.qml5
-rw-r--r--tests/auto/extras/data/tst_tumbler.qml5
12 files changed, 54 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.
diff --git a/tests/auto/extras/data/tst_circulartickmarklabel.qml b/tests/auto/extras/data/tst_circulartickmarklabel.qml
index deddc9b7..648f2bae 100644
--- a/tests/auto/extras/data/tst_circulartickmarklabel.qml
+++ b/tests/auto/extras/data/tst_circulartickmarklabel.qml
@@ -63,6 +63,9 @@ TestCase {
property var label: null
function init() {
+ if (Qt.platform.pluginName === "offscreen")
+ skip("QTBUG-65211")
+
label = Qt.createQmlObject("import QtQuick.Extras 1.4; import QtQuick.Extras.Private 1.0; CircularTickmarkLabel {}", testcase, "");
verify(label, "CircularTickmarkLabel: failed to create an instance");
verify(label.__style);
diff --git a/tests/auto/extras/data/tst_common.qml b/tests/auto/extras/data/tst_common.qml
index dc554735..745a31bf 100644
--- a/tests/auto/extras/data/tst_common.qml
+++ b/tests/auto/extras/data/tst_common.qml
@@ -78,6 +78,8 @@ TestCase {
function init() {
if (Qt.platform.os === "windows")
skip("QTBUG-53123");
+ if (Qt.platform.pluginName === "offscreen")
+ skip("QTBUG-65211")
}
function cleanup() {
diff --git a/tests/auto/extras/data/tst_delaybutton.qml b/tests/auto/extras/data/tst_delaybutton.qml
index 5475037e..87949416 100644
--- a/tests/auto/extras/data/tst_delaybutton.qml
+++ b/tests/auto/extras/data/tst_delaybutton.qml
@@ -59,6 +59,11 @@ TestCase {
width: 400
height: 400
+ function init() {
+ if (Qt.platform.pluginName === "offscreen")
+ skip("QTBUG-65211")
+ }
+
function test_instance() {
var button = Qt.createQmlObject('import QtQuick.Extras 1.4; DelayButton { }', testcase, '')
verify (button, "DelayButton: failed to create an instance")
diff --git a/tests/auto/extras/data/tst_piemenu.qml b/tests/auto/extras/data/tst_piemenu.qml
index 3b0be526..fa0d90d9 100644
--- a/tests/auto/extras/data/tst_piemenu.qml
+++ b/tests/auto/extras/data/tst_piemenu.qml
@@ -89,6 +89,11 @@ Item {
PieMenu {}
}
+ function init() {
+ if (Qt.platform.pluginName === "offscreen")
+ skip("QTBUG-65211")
+ }
+
function cleanup() {
currentIndexSignalSpy.clear();
actionSignalSpy.clear();
diff --git a/tests/auto/extras/data/tst_tumbler.qml b/tests/auto/extras/data/tst_tumbler.qml
index 5585b5db..0e4e449c 100644
--- a/tests/auto/extras/data/tst_tumbler.qml
+++ b/tests/auto/extras/data/tst_tumbler.qml
@@ -93,6 +93,11 @@ Item {
}
}
+ function init() {
+ if (Qt.platform.pluginName === "offscreen")
+ skip("QTBUG-65211")
+ }
+
function test_instance() {
var tumbler = createTemporaryObject(tumblerComponent, container);
verify(tumbler);