Remove insignification of qsslsocket test on Windows and Mac.
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 27 Apr 2012 08:41:05 +0000 (18:41 +1000)
committerQt by Nokia <qt-info@nokia.com>
Sun, 29 Apr 2012 23:07:50 +0000 (01:07 +0200)
The test has a single stable failure on both of these platforms. Mark
the failure with QEXPECT_FAIL (that was already the case on Ubuntu
11.10) and re-enable the test.

Note also the elimination of duplicate bug numbers.

Task-number: QTBUG-24234
Change-Id: Ica11e7d1f3cd9487647127984fef7c75e0e764fe
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
tests/auto/network/ssl/qsslsocket/qsslsocket.pro
tests/auto/network/ssl/qsslsocket/tst_qsslsocket.cpp

index 70b495b..c24fe22 100644 (file)
@@ -31,9 +31,6 @@ wince* {
     DEFINES += SRCDIR=\\\"$$PWD/\\\"
 }
 
-# QTBUG-23575
-linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC
+linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC  # QTBUG-24234
 
 requires(contains(QT_CONFIG,private_tests))
-
-win32|mac:CONFIG += insignificant_test # QTBUG-24234
index 3331020..6f81829 100644 (file)
@@ -1766,8 +1766,8 @@ void tst_QSslSocket::verifyMode()
     loop.exec();
 
     QVERIFY(clientSocket.isEncrypted());
-#if defined(UBUNTU_ONEIRIC) && defined(__x86_64__)
-    QEXPECT_FAIL("", "QTBUG-23575 - Fails on this platform", Abort);
+#if (defined(UBUNTU_ONEIRIC) && defined(__x86_64__)) || defined(Q_OS_WIN) || defined(Q_OS_MAC)
+    QEXPECT_FAIL("", "QTBUG-24234", Abort);
 #endif
     QVERIFY(server.socket->sslErrors().isEmpty());
 }