summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShane Kearns <dbgshane@gmail.com>2013-01-08 18:53:15 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-11 14:01:10 +0100
commit7e91b5a2bc51daa888985835fda3f789654afe0b (patch)
tree3e6298d6fe34efeed1e97175f103f20c13603d03 /tests
parent63c68cadec225b085b7c53d3e51f32cf4f1f6ffc (diff)
Fix incorrectly disabled autotest
One of the IPv6 autotests was always disabled instead of being disabled only when the system has no IPv6 support. Change-Id: I34dffbeae6ba85a706bfeb0cc4750a4514b73a65 Reviewed-by: Peter Hartmann <phartmann@rim.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp b/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
index dd8bdf58ff..a071c9fe55 100644
--- a/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
+++ b/tests/auto/network/socket/qudpsocket/tst_qudpsocket.cpp
@@ -1147,7 +1147,7 @@ void tst_QUdpSocket::multicastLeaveAfterClose()
QFETCH(QHostAddress, groupAddress);
if (setProxy)
QSKIP("UDP Multicast does not work with proxies");
- if (groupAddress.protocol() == QAbstractSocket::IPv6Protocol)
+ if (!QtNetworkSettings::hasIPv6() && groupAddress.protocol() == QAbstractSocket::IPv6Protocol)
QSKIP("system doesn't support ipv6!");
QUdpSocket udpSocket;