Android: exclude tests crashing at start

These tests are failing with "java.lang.UnsatisfiedLinkError: dlopen
failed: invalid ELF file" at the start, excluding them now to enable
Android testing until they're fixed later.

Task-number: QTBUG-87671
Task-number: QTBUG-87025
Change-Id: Ida7d7158fccdc31df1f9689f77fde832964d732f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Assam Boudjelthia 2020-11-14 22:06:06 +02:00
parent c8ae8ddb3a
commit ac1cbc752f
14 changed files with 113 additions and 10 deletions

View File

@ -12,6 +12,7 @@ endif()
if(TARGET Qt::Network)
add_subdirectory(qtextstream)
endif()
if(TARGET Qt::Network AND TARGET Qt::Xml)
# QTBUG-87671 # special case
if(TARGET Qt::Network AND TARGET Qt::Xml AND NOT ANDROID)
add_subdirectory(qxmlstream)
endif()

View File

@ -17,5 +17,6 @@ SUBDIRS = \
!qtHaveModule(network): SUBDIRS -= \
qtextstream
!qtHaveModule(network)|!qtHaveModule(xml): SUBDIRS -= \
# QTBUG-87671
android|!qtHaveModule(network)|!qtHaveModule(xml): SUBDIRS -= \
qxmlstream

View File

@ -27,7 +27,7 @@ if(QT_FEATURE_private_tests)
add_subdirectory(qzip)
add_subdirectory(qtextodfwriter)
endif()
if(TARGET Qt::Xml)
if(TARGET Qt::Xml AND NOT ANDROID)
add_subdirectory(qtextdocument)
endif()
if(QT_FEATURE_private_tests AND UNIX)

View File

@ -27,7 +27,8 @@ if(QT_FEATURE_private_tests)
add_subdirectory(qzip)
add_subdirectory(qtextodfwriter)
endif()
if(TARGET Qt::Xml)
# QTBUG-87671 # special case
if(TARGET Qt::Xml AND NOT ANDROID)
add_subdirectory(qtextdocument)
endif()
if(QT_FEATURE_private_tests AND UNIX)

View File

@ -43,3 +43,6 @@ qtConfig(textmarkdownwriter): SUBDIRS += qtextmarkdownwriter
!qtHaveModule(xml): SUBDIRS -= \
qcssparser \
qtextdocument
# QTBUG-87671
android: SUBDIRS -= qtextdocument

View File

@ -0,0 +1,17 @@
# Generated from dialogs.pro.
add_subdirectory(qcolordialog)
add_subdirectory(qdialog)
add_subdirectory(qerrormessage)
add_subdirectory(qfiledialog2)
add_subdirectory(qfontdialog)
add_subdirectory(qinputdialog)
add_subdirectory(qprogressdialog)
add_subdirectory(qwizard)
if(NOT ANDROID)
add_subdirectory(qfiledialog)
add_subdirectory(qmessagebox)
endif()
if(QT_FEATURE_private_tests)
add_subdirectory(qsidebar)
endif()

View File

@ -3,13 +3,16 @@
add_subdirectory(qcolordialog)
add_subdirectory(qdialog)
add_subdirectory(qerrormessage)
add_subdirectory(qfiledialog)
add_subdirectory(qfiledialog2)
add_subdirectory(qfontdialog)
add_subdirectory(qinputdialog)
add_subdirectory(qmessagebox)
add_subdirectory(qprogressdialog)
add_subdirectory(qwizard)
# QTBUG-87671 # special case
if(NOT ANDROID)
add_subdirectory(qfiledialog)
add_subdirectory(qmessagebox)
endif()
if(QT_FEATURE_private_tests)
add_subdirectory(qsidebar)
endif()

View File

@ -12,6 +12,11 @@ SUBDIRS=\
qsidebar \
qwizard \
# QTBUG-87671
android: SUBDIRS -= \
qfiledialog \
qmessagebox
!qtConfig(private_tests): SUBDIRS -= \
qsidebar \

View File

@ -17,8 +17,10 @@ add_subdirectory(qgraphicsobject)
add_subdirectory(qgraphicspixmapitem)
add_subdirectory(qgraphicspolygonitem)
add_subdirectory(qgraphicstransform)
add_subdirectory(qgraphicsview)
if(QT_FEATURE_style_fusion)
add_subdirectory(qgraphicsproxywidget)
add_subdirectory(qgraphicswidget)
endif()
if(NOT ANDROID)
add_subdirectory(qgraphicsview)
endif()

View File

@ -17,7 +17,6 @@ add_subdirectory(qgraphicsobject)
add_subdirectory(qgraphicspixmapitem)
add_subdirectory(qgraphicspolygonitem)
add_subdirectory(qgraphicstransform)
add_subdirectory(qgraphicsview)
if(QT_FEATURE_style_fusion)
# special case begin
# These tests are never run in coin with qmake since the statement
@ -31,3 +30,7 @@ if(QT_FEATURE_style_fusion)
#add_subdirectory(qgraphicswidget)
# special case end
endif()
# QTBUG-87671 # special case
if(NOT ANDROID)
add_subdirectory(qgraphicsview)
endif()

View File

@ -19,6 +19,9 @@ SUBDIRS=\
qgraphicsview \
qgraphicswidget \
# QTBUG-87671
android: SUBDIRS -= qgraphicsview
!qtConfig(private_tests): SUBDIRS -= \
qgraphicsanchorlayout \
qgraphicsanchorlayout1 \

View File

@ -0,0 +1,57 @@
# Generated from widgets.pro.
add_subdirectory(qabstractbutton)
add_subdirectory(qabstractscrollarea)
add_subdirectory(qabstractslider)
add_subdirectory(qbuttongroup)
add_subdirectory(qcalendarwidget)
add_subdirectory(qcheckbox)
add_subdirectory(qcommandlinkbutton)
add_subdirectory(qdatetimeedit)
add_subdirectory(qdial)
add_subdirectory(qdialogbuttonbox)
add_subdirectory(qdockwidget)
add_subdirectory(qdoublespinbox)
add_subdirectory(qfocusframe)
add_subdirectory(qfontcombobox)
add_subdirectory(qframe)
add_subdirectory(qgroupbox)
add_subdirectory(qlabel)
add_subdirectory(qlcdnumber)
add_subdirectory(qmdisubwindow)
add_subdirectory(qplaintextedit)
add_subdirectory(qprogressbar)
add_subdirectory(qpushbutton)
add_subdirectory(qradiobutton)
add_subdirectory(qscrollarea)
add_subdirectory(qscrollbar)
add_subdirectory(qsizegrip)
add_subdirectory(qslider)
add_subdirectory(qspinbox)
add_subdirectory(qsplitter)
add_subdirectory(qstackedwidget)
add_subdirectory(qstatusbar)
add_subdirectory(qtabbar)
add_subdirectory(qtabwidget)
add_subdirectory(qtextbrowser)
add_subdirectory(qtoolbox)
add_subdirectory(qtoolbutton)
if(QT_FEATURE_private_tests)
add_subdirectory(qabstractspinbox)
add_subdirectory(qcombobox)
add_subdirectory(qmainwindow)
add_subdirectory(qtextedit)
add_subdirectory(qtoolbar)
endif()
if(QT_FEATURE_shortcut)
add_subdirectory(qkeysequenceedit)
endif()
if(NOT ANDROID)
add_subdirectory(qlineedit)
add_subdirectory(qmdiarea)
add_subdirectory(qmenu)
add_subdirectory(qmenubar)
endif()
if(QT_FEATURE_opengl AND NOT ANDROID)
add_subdirectory(qopenglwidget)
endif()

View File

@ -19,7 +19,6 @@ add_subdirectory(qgroupbox)
add_subdirectory(qlabel)
add_subdirectory(qlcdnumber)
add_subdirectory(qmdisubwindow)
add_subdirectory(qmenu)
add_subdirectory(qplaintextedit)
add_subdirectory(qprogressbar)
add_subdirectory(qpushbutton)
@ -52,9 +51,12 @@ if(NOT ANDROID)
add_subdirectory(qlineedit)
# QTBUG-87420 # special case
add_subdirectory(qmdiarea)
# QTBUG-87671 # special case
add_subdirectory(qmenu)
# QTBUG-87421 # special case
add_subdirectory(qmenubar)
endif()
if(QT_FEATURE_opengl)
# QTBUG-87671 # special case
if(QT_FEATURE_opengl AND NOT ANDROID)
add_subdirectory(qopenglwidget)
endif()

View File

@ -52,6 +52,8 @@ android: SUBDIRS -= \
qlineedit \
# QTBUG-87420
qmdiarea \
# QTBUG-87671
qmenu \
# QTBUG-87421
qmenubar
@ -67,3 +69,6 @@ android: SUBDIRS -= \
qtoolbar \
qtConfig(opengl): SUBDIRS += qopenglwidget
# QTBUG-87671
android: SUBDIRS -= qopenglwidget