summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2013-08-09 21:23:48 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-08-11 00:33:50 +0200
commitbe5225cacea551da8138ab1ba1b9b48d30dbbfd5 (patch)
tree2532920cff0830af12c099c840938fb0a781108f /tests
parentd6522b70adaaa51ae3bbbe0b1ada8f8e4dc82e78 (diff)
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 <robin+qt@viroteck.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/corelib/io/qfilesystemwatcher/tst_qfilesystemwatcher.cpp7
1 files changed, 6 insertions, 1 deletions
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