tst_qiodevice: Skip broken winrt tests

Change-Id: I399cc1aed3ee4151cf6adfd8f8780d8975604d52
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Reviewed-by: Andre de la Rocha <andre.rocha@qt.io>
This commit is contained in:
Oliver Wolff 2018-05-03 12:15:06 +02:00
parent 43ea15d01c
commit 4dada8068a

View File

@ -104,6 +104,9 @@ void tst_QIODevice::getSetCheck()
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
void tst_QIODevice::constructing_QTcpSocket() void tst_QIODevice::constructing_QTcpSocket()
{ {
#if defined(Q_OS_WINRT)
QSKIP("Synchronous socket calls are broken on winrt. See QTBUG-40922");
#endif
if (!QtNetworkSettings::verifyTestNetworkSettings()) if (!QtNetworkSettings::verifyTestNetworkSettings())
QSKIP("No network test server available"); QSKIP("No network test server available");
@ -263,6 +266,9 @@ void tst_QIODevice::unget()
buffer.ungetChar('Q'); buffer.ungetChar('Q');
QCOMPARE(buffer.readLine(buf, 3), qint64(1)); QCOMPARE(buffer.readLine(buf, 3), qint64(1));
#if defined(Q_OS_WINRT)
QSKIP("Synchronous socket calls are broken on winrt. See QTBUG-40922");
#endif
for (int i = 0; i < 2; ++i) { for (int i = 0; i < 2; ++i) {
QTcpSocket socket; QTcpSocket socket;
QIODevice *dev; QIODevice *dev;