From be5225cacea551da8138ab1ba1b9b48d30dbbfd5 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Fri, 9 Aug 2013 21:23:48 +0200 Subject: test: Mark tst_QFileSystemWatcher::watchFileAndItsDirectory() as XFAIL This is a flaky test on Windows 8 64-bit, so marking it as XFAIL if it is expected to fail. Task-number: QTBUG-30943 Change-Id: Idd276f80b54fcd5cf295a7e1adebcf0020eaa8ca Reviewed-by: Robin Burchell --- .../auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/auto/corelib/io/qfilesystemwatcher') diff --git a/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp b/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp index 2756fcce50..4105a43735 100644 --- a/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp +++ b/tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp @@ -468,7 +468,12 @@ void tst_QFileSystemWatcher::watchFileAndItsDirectory() timer.start(3000); eventLoop.exec(); - QCOMPARE(fileChangedSpy.count(), 0); + int fileChangedSpyCount = fileChangedSpy.count(); +#ifdef Q_OS_WIN64 + if (fileChangedSpyCount != 0) + QEXPECT_FAIL("", "See QTBUG-30943", Continue); +#endif + QCOMPARE(fileChangedSpyCount, 0); #ifdef Q_OS_WINCE QEXPECT_FAIL("poller", "Directory does not get updated on file removal(See #137910)", Abort); #endif -- cgit v1.2.3