Re-enable the corelib autotests on Mac OS X
authorBradley T. Hughes <bradley.hughes@nokia.com>
Wed, 16 Nov 2011 10:21:23 +0000 (11:21 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 21 Nov 2011 10:31:35 +0000 (11:31 +0100)
This is the first change to re-enable the autotests for the individual
qtbase modules. This means adding subdir.CONFIG=no_check_target for each
module (except corelib) in tests/auto/auto.pro instead of in
tests/tests.pro

QFileSystemWatcher, QIODeice, QSettings, QTextStream, QSocketNotifier,
QVariant, QPluginLoader, QLocale: These tests currently fail, which
will block any changes that attempt to re-enable the autotests. Ignore
the failures for now by marking them as insignificant.

QAbstractItemModel: This test currently crashes, which can
destabilize the CI system when attempting to re-enable the autotests.
Skip this test for now by disabling the check target for it.

Change-Id: Ie5147d5c5cfae5e7d0a495d5c4788ce92fe2e6d8
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
tests/auto/auto.pro
tests/auto/corelib/io/qfilesystemwatcher/qfilesystemwatcher.pro
tests/auto/corelib/io/qiodevice/qiodevice.pro
tests/auto/corelib/io/qsettings/qsettings.pro
tests/auto/corelib/io/qtextstream/test/test.pro
tests/auto/corelib/kernel/kernel.pro
tests/auto/corelib/kernel/qsocketnotifier/qsocketnotifier.pro
tests/auto/corelib/kernel/qvariant/qvariant.pro
tests/auto/corelib/plugin/qpluginloader/tst/tst.pro
tests/auto/corelib/tools/qlocale/test/test.pro
tests/tests.pro

index f2672c0..248197c 100644 (file)
@@ -19,3 +19,19 @@ cross_compile:                              SUBDIRS -= tools
 !contains(QT_CONFIG, opengl):               SUBDIRS -= opengl
 !unix|embedded|!contains(QT_CONFIG, dbus):  SUBDIRS -= dbus
 !contains(QT_CONFIG, v8):                   SUBDIRS -= v8
+
+# disable 'make check' on Mac OS X for the following subdirs for the time being
+mac {
+    dbus.CONFIG += no_check_target
+    gui.CONFIG += no_check_target
+    integrationtests.CONFIG += no_check_target
+    network.CONFIG += no_check_target
+    opengl.CONFIG += no_check_target
+    sql.CONFIG += no_check_target
+    testlib.CONFIG += no_check_target
+    tools.CONFIG += no_check_target
+    v8.CONFIG += no_check_target
+    xml.CONFIG += no_check_target
+    other.CONFIG += no_check_target
+    widgets.CONFIG += no_check_target
+}
index 8ada44f..e712a6a 100644 (file)
@@ -2,3 +2,5 @@ CONFIG += testcase parallel_test
 TARGET = tst_qfilesystemwatcher
 QT = core testlib
 SOURCES = tst_qfilesystemwatcher.cpp
+
+mac: CONFIG += insignificant_test # QTBUG-22744
index fa5ee14..2a90ca1 100644 (file)
@@ -13,3 +13,5 @@ wince* {
     DEFINES += SRCDIR=\\\"$$PWD/\\\"
 }
 MOC_DIR=tmp
+
+mac: CONFIG += insignificant_test # QTBUG-22766
index 1772f4b..ed3be0f 100644 (file)
@@ -5,3 +5,5 @@ SOURCES = tst_qsettings.cpp
 RESOURCES += qsettings.qrc
 
 win32-msvc*:LIBS += advapi32.lib
+
+mac: CONFIG += insignificant_test # QTBUG-22745
index cf53f44..def7921 100644 (file)
@@ -22,3 +22,5 @@ wince* {
 } else {
     DEFINES += SRCDIR=\\\"$$PWD/../\\\"
 }
+
+mac: CONFIG += insignificant_test # QTBUG-22767
index bf0700e..90a5c24 100644 (file)
@@ -23,3 +23,5 @@ SUBDIRS=\
 
 # This test is only applicable on Windows
 !win32*:SUBDIRS -= qwineventnotifier
+
+mac: qabstractitemmodel.CONFIG = no_check_target # QTBUG-22748
index 58e4b98..55f6934 100644 (file)
@@ -6,3 +6,5 @@ SOURCES = tst_qsocketnotifier.cpp
 requires(contains(QT_CONFIG,private_tests))
 
 include(../../../network/socket/platformsocketengine/platformsocketengine.pri)
+
+mac: CONFIG += insignificant_test # QTBUG-22746
index 00932f9..bc0a4d4 100644 (file)
@@ -2,3 +2,5 @@ CONFIG += testcase
 TARGET = tst_qvariant
 QT = widgets network testlib
 SOURCES = tst_qvariant.cpp
+
+mac: CONFIG += insignificant_test # QTBUG-QTBUG-22747
index 2d77e53..0de46be 100644 (file)
@@ -18,3 +18,5 @@ wince* {
    addFiles.path = bin
    DEPLOYMENT += addFiles
 }
+
+mac: CONFIG += insignificant_test # QTBUG-22765
index 5c8f8c9..4649d78 100644 (file)
@@ -18,3 +18,5 @@ SOURCES = ../tst_qlocale.cpp
     addFiles.path = "\\Program Files\\tst_qlocale"
     DEPLOYMENT += addFiles
 }
+
+mac: CONFIG += insignificant_test # QTBUG-22769
index ead5f80..0c93368 100644 (file)
@@ -4,6 +4,3 @@ SUBDIRS = auto
 # benchmarks in debug mode is rarely sensible
 # benchmarks are not sensible for code coverage (here with tool testcocoon)
 !testcocoon:contains(QT_CONFIG,release):SUBDIRS += benchmarks
-
-# disable 'make check' on Mac OS X for the time being
-mac: auto.CONFIG += no_check_target