Flag test as expected failure for Ubuntu 11.10 x64.

Change-Id: I05ff434581f48d4d3ede7ecb59208821a2ab3e7d
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
bb10
Toby Tomkins 2012-01-12 14:59:14 +10:00 committed by Qt by Nokia
parent 605329eb1b
commit d26a71da18
2 changed files with 4 additions and 0 deletions

View File

@ -4,5 +4,6 @@ TEMPLATE = subdirs
!wince*: SUBDIRS = test stressTest
wince*|vxworks* : SUBDIRS = test
linux-*:system(". /etc/lsb-release && [ $DISTRIB_CODENAME = oneiric ]"):DEFINES+=UBUNTU_ONEIRIC
requires(contains(QT_CONFIG,private_tests))

View File

@ -2259,6 +2259,9 @@ void tst_QTcpSocket::suddenRemoteDisconnect()
QVERIFY(stopWatch.elapsed() < 20000);
// Check that both exited normally.
#if defined(UBUNTU_ONEIRIC) && defined(__x86_64__)
QEXPECT_FAIL("", "Fails on this platform", Abort);
#endif
QCOMPARE(clientProcess.readAll().constData(), "SUCCESS\n");
QCOMPARE(serverProcess.readAll().constData(), "SUCCESS\n");
}