aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAssam Boudjelthia <assam.boudjelthia@qt.io>2022-01-18 14:45:00 +0200
committerAssam Boudjelthia <assam.boudjelthia@qt.io>2022-02-03 21:45:28 +0200
commit114826a9f6f39aa85a4bf645d49da891e9e3c124 (patch)
treecfdece568d3e0fbcd64f0b0591fa8e20742cbc8d
parentce8db0672557cef7942df061f52ccdf65fa250f6 (diff)
Disable failing declarative tests on Android
This allows us to enable testing on declarative for the module as a whole and have some sort of test verification for the mean time, and fix the fails over time. Task-number: QTBUG-100003 Task-number: QTBUG-100014 Task-number: QTBUG-100016 Task-number: QTBUG-100018 Task-number: QTBUG-100020 Task-number: QTBUG-100021 Task-number: QTBUG-100164 Task-number: QTBUG-100166 Task-number: QTBUG-100167 Task-number: QTBUG-100169 Task-number: QTBUG-100171 Task-number: QTBUG-100173 Task-number: QTBUG-100175 Task-number: QTBUG-100176 Task-number: QTBUG-100177 Task-number: QTBUG-100191 Task-number: QTBUG-100253 Task-number: QTBUG-100254 Task-number: QTBUG-100256 Task-number: QTBUG-100257 Task-number: QTBUG-100258 Change-Id: I85bf1501b94f04853a1ca715e35df0a56041308a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit f22d884faff5f68230981fc191527c67aeb8a18f)
-rw-r--r--tests/auto/qml/CMakeLists.txt7
-rw-r--r--tests/auto/qml/debugger/qqmldebugtranslationservice/BLACKLIST7
-rw-r--r--tests/auto/qml/qqmljsscope/BLACKLIST3
-rw-r--r--tests/auto/qml/qqmlqt/BLACKLIST5
-rw-r--r--tests/auto/qml/qquickfolderlistmodel/BLACKLIST5
-rw-r--r--tests/auto/qmldom/domitem/tst_qmldomitem.h3
-rw-r--r--tests/auto/quickcontrols2/CMakeLists.txt6
-rw-r--r--tests/auto/quickcontrols2/qquickdrawer/BLACKLIST9
-rw-r--r--tests/auto/quickcontrols2/qquickheaderview/BLACKLIST3
-rw-r--r--tests/auto/quickcontrols2/qquickmenu/BLACKLIST15
-rw-r--r--tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp3
-rw-r--r--tests/auto/quickcontrols2/qquickmenubar/BLACKLIST7
-rw-r--r--tests/auto/quickcontrols2/qquickpopup/BLACKLIST4
-rw-r--r--tests/auto/quicktest/CMakeLists.txt2
-rw-r--r--tests/auto/quickwidgets/qquickwidget/BLACKLIST7
15 files changed, 83 insertions, 3 deletions
diff --git a/tests/auto/qml/CMakeLists.txt b/tests/auto/qml/CMakeLists.txt
index e3b6312823..36b4195606 100644
--- a/tests/auto/qml/CMakeLists.txt
+++ b/tests/auto/qml/CMakeLists.txt
@@ -21,7 +21,9 @@ add_subdirectory(qqmlinfo)
add_subdirectory(qqmllistreference)
add_subdirectory(qqmllocale)
add_subdirectory(qqmlmetaobject)
-add_subdirectory(qqmlmoduleplugin)
+if(NOT ANDROID) # QTBUG-100003
+ add_subdirectory(qqmlmoduleplugin)
+endif()
add_subdirectory(qqmlnotifier)
add_subdirectory(qqmlqt)
add_subdirectory(qqmlxmlhttprequest)
@@ -56,7 +58,8 @@ if(QT_FEATURE_process AND NOT CMAKE_CROSSCOMPILING)
add_subdirectory(qmllint)
add_subdirectory(qmlplugindump)
endif()
-if(QT_FEATURE_library)
+if(QT_FEATURE_library AND NOT ANDROID)
+ # QTBUG-100169
add_subdirectory(qqmlextensionplugin)
endif()
if(QT_FEATURE_private_tests)
diff --git a/tests/auto/qml/debugger/qqmldebugtranslationservice/BLACKLIST b/tests/auto/qml/debugger/qqmldebugtranslationservice/BLACKLIST
new file mode 100644
index 0000000000..b572260e87
--- /dev/null
+++ b/tests/auto/qml/debugger/qqmldebugtranslationservice/BLACKLIST
@@ -0,0 +1,7 @@
+# QTBUG-100164
+[verifyCorrectNumberOfMissingTranslations]
+android
+[getElideWarnings]
+android
+[getElideWarningsWhenStateChanged]
+android
diff --git a/tests/auto/qml/qqmljsscope/BLACKLIST b/tests/auto/qml/qqmljsscope/BLACKLIST
new file mode 100644
index 0000000000..1cae50360f
--- /dev/null
+++ b/tests/auto/qml/qqmljsscope/BLACKLIST
@@ -0,0 +1,3 @@
+# QTBUG-100020
+[orderedBindings]
+android
diff --git a/tests/auto/qml/qqmlqt/BLACKLIST b/tests/auto/qml/qqmlqt/BLACKLIST
new file mode 100644
index 0000000000..e3882be0e9
--- /dev/null
+++ b/tests/auto/qml/qqmlqt/BLACKLIST
@@ -0,0 +1,5 @@
+# QTBUG-100014
+[resolvedUrl]
+android
+[timeRoundtrip]
+android
diff --git a/tests/auto/qml/qquickfolderlistmodel/BLACKLIST b/tests/auto/qml/qquickfolderlistmodel/BLACKLIST
new file mode 100644
index 0000000000..c40daa1176
--- /dev/null
+++ b/tests/auto/qml/qquickfolderlistmodel/BLACKLIST
@@ -0,0 +1,5 @@
+# QTBUG-100016
+[nameFilters]
+android
+[introspectQrc]
+android
diff --git a/tests/auto/qmldom/domitem/tst_qmldomitem.h b/tests/auto/qmldom/domitem/tst_qmldomitem.h
index 4b98f467ea..714b278e1f 100644
--- a/tests/auto/qmldom/domitem/tst_qmldomitem.h
+++ b/tests/auto/qmldom/domitem/tst_qmldomitem.h
@@ -425,6 +425,9 @@ private slots:
}
void testLoadDep()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("Test uncompatible with Android (QTBUG-100171)");
+#endif
QString baseDir = QLatin1String(QT_QMLTEST_DATADIR) + QLatin1String("/domitem");
QStringList qmltypeDirs =
QStringList({ baseDir, QLibraryInfo::path(QLibraryInfo::Qml2ImportsPath) });
diff --git a/tests/auto/quickcontrols2/CMakeLists.txt b/tests/auto/quickcontrols2/CMakeLists.txt
index ef299bb77b..010437d32f 100644
--- a/tests/auto/quickcontrols2/CMakeLists.txt
+++ b/tests/auto/quickcontrols2/CMakeLists.txt
@@ -6,12 +6,16 @@ add_subdirectory(cursor)
add_subdirectory(customization)
add_subdirectory(designer)
add_subdirectory(dialogs)
+if(NOT ANDROID) # QTBUG-100258
add_subdirectory(focus)
+endif()
add_subdirectory(font)
add_subdirectory(palette)
add_subdirectory(platform)
add_subdirectory(pressandhold)
+if(NOT ANDROID) # QTBUG-100176
add_subdirectory(qquickapplicationwindow)
+endif()
add_subdirectory(qquickcolor)
add_subdirectory(qquickdrawer)
add_subdirectory(qquickheaderview)
@@ -28,8 +32,10 @@ add_subdirectory(qquickstyle)
add_subdirectory(qquickuniversalstyle)
add_subdirectory(qquickuniversalstyleconf)
add_subdirectory(revisions)
+if(NOT ANDROID) # QTBUG-100191
add_subdirectory(sanity)
add_subdirectory(snippets)
+endif()
add_subdirectory(styleimports)
add_subdirectory(styleimportscompiletimematerial)
add_subdirectory(styleimportscompiletimeqmlonly)
diff --git a/tests/auto/quickcontrols2/qquickdrawer/BLACKLIST b/tests/auto/quickcontrols2/qquickdrawer/BLACKLIST
index 0a440d4ad3..2ddb5f680c 100644
--- a/tests/auto/quickcontrols2/qquickdrawer/BLACKLIST
+++ b/tests/auto/quickcontrols2/qquickdrawer/BLACKLIST
@@ -6,3 +6,12 @@
[position]
opensuse-leap
+android # QTBUG-100257
+
+# QTBUG-100257
+[reposition]
+android
+[hover]
+android
+[multiTouch]
+android
diff --git a/tests/auto/quickcontrols2/qquickheaderview/BLACKLIST b/tests/auto/quickcontrols2/qquickheaderview/BLACKLIST
new file mode 100644
index 0000000000..313c412deb
--- /dev/null
+++ b/tests/auto/quickcontrols2/qquickheaderview/BLACKLIST
@@ -0,0 +1,3 @@
+# QTBUG-100177
+[testOrientation]
+android
diff --git a/tests/auto/quickcontrols2/qquickmenu/BLACKLIST b/tests/auto/quickcontrols2/qquickmenu/BLACKLIST
index f71a4e03c7..c5d23ad814 100644
--- a/tests/auto/quickcontrols2/qquickmenu/BLACKLIST
+++ b/tests/auto/quickcontrols2/qquickmenu/BLACKLIST
@@ -1,6 +1,21 @@
[popup]
macos # Can't control cursor (QTBUG-76312)
+android # QTBUG-100256
# QTBUG-87018
[subMenuDisabledMouse]
macos
+
+# QTBUG-100256
+[subMenuPosition]
+android
+[mouse]
+android
+[contextMenuKeyboard]
+android
+[menuSeparator]
+android
+[subMenuMouse]
+android
+[scrollable]
+android
diff --git a/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp b/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp
index 4bb67e0321..54e7253b4f 100644
--- a/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp
+++ b/tests/auto/quickcontrols2/qquickmenu/tst_qquickmenu.cpp
@@ -1682,6 +1682,9 @@ void tst_QQuickMenu::disableWhenTriggered_data()
// Tests that the menu is dismissed when a menu item sets "enabled = false" in onTriggered().
void tst_QQuickMenu::disableWhenTriggered()
{
+#ifdef Q_OS_ANDROID
+ QSKIP("Crashes on Android (QTBUG-100256)");
+#endif
if ((QGuiApplication::platformName() == QLatin1String("offscreen"))
|| (QGuiApplication::platformName() == QLatin1String("minimal")))
QSKIP("Mouse hovering not functional on offscreen/minimal platforms");
diff --git a/tests/auto/quickcontrols2/qquickmenubar/BLACKLIST b/tests/auto/quickcontrols2/qquickmenubar/BLACKLIST
new file mode 100644
index 0000000000..44dea1552c
--- /dev/null
+++ b/tests/auto/quickcontrols2/qquickmenubar/BLACKLIST
@@ -0,0 +1,7 @@
+# QTBUG-100254
+[mouse]
+android
+[keys]
+android
+[mnemonics]
+android
diff --git a/tests/auto/quickcontrols2/qquickpopup/BLACKLIST b/tests/auto/quickcontrols2/qquickpopup/BLACKLIST
index 4aa2bfeb6e..ae18e97546 100644
--- a/tests/auto/quickcontrols2/qquickpopup/BLACKLIST
+++ b/tests/auto/quickcontrols2/qquickpopup/BLACKLIST
@@ -15,3 +15,7 @@ opensuse-leap
[cursorShape]
opensuse-leap
+
+# QTBUG-100253
+[orientation]
+android
diff --git a/tests/auto/quicktest/CMakeLists.txt b/tests/auto/quicktest/CMakeLists.txt
index d21dff38b1..07b7cd7246 100644
--- a/tests/auto/quicktest/CMakeLists.txt
+++ b/tests/auto/quicktest/CMakeLists.txt
@@ -3,7 +3,7 @@
add_subdirectory(polish)
add_subdirectory(signalspy)
add_subdirectory(quicktestmainwithsetup)
-if(QT_FEATURE_process)
+if(QT_FEATURE_process AND NOT ANDROID) # QTBUG-100175
add_subdirectory(testfiltering)
endif()
add_subdirectory(testswithcomponents)
diff --git a/tests/auto/quickwidgets/qquickwidget/BLACKLIST b/tests/auto/quickwidgets/qquickwidget/BLACKLIST
index 44ab3e9397..315d87502e 100644
--- a/tests/auto/quickwidgets/qquickwidget/BLACKLIST
+++ b/tests/auto/quickwidgets/qquickwidget/BLACKLIST
@@ -5,3 +5,10 @@ opensuse-leap
macos
[synthMouseFromTouch] # QTBUG-86729
*
+# QTBUG-100173
+[enterLeave]
+android
+[resizeOverlay]
+android
+[focusOnClickInProxyWidget]
+android