Skip to content

Commit

Permalink
FolderWatcher: Disable test on OSX #7305
Browse files Browse the repository at this point in the history
  • Loading branch information
ckamm authored and Camila committed Nov 23, 2020
1 parent f865410 commit 91f4d97
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/gui/folderwatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ void FolderWatcher::appendSubPaths(QDir dir, QStringList& subPaths) {

void FolderWatcher::startNotificatonTest(const QString &path)
{
#ifdef Q_OS_MAC
// Testing the folder watcher on OSX is harder because the watcher
// automatically discards changes that were performed by our process.
// It would still be useful to test but the OSX implementation
// is deferred until later.
return;
#endif

Q_ASSERT(_testNotificationPath.isEmpty());
_testNotificationPath = path;

Expand Down

0 comments on commit 91f4d97

Please sign in to comment.