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>bb10
parent
d6522b70ad
commit
be5225cace
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue