diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index ada0d64c58..2c66540f1c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -47,9 +47,9 @@ nextcloud_add_test(Utility) if (NOT APPLE) nextcloud_add_test(SyncEngine) + nextcloud_add_test(SyncVirtualFiles) endif() -nextcloud_add_test(SyncVirtualFiles) nextcloud_add_test(SyncMove) nextcloud_add_test(SyncDelete) nextcloud_add_test(SyncConflict) diff --git a/test/testfolderwatcher.cpp b/test/testfolderwatcher.cpp index 598c361a76..ef368a7923 100644 --- a/test/testfolderwatcher.cpp +++ b/test/testfolderwatcher.cpp @@ -331,6 +331,10 @@ private slots: } void testDetectLockFilesExternally() { +#if defined Q_OS_MACOS + QSKIP("not reliable on macOS"); +#endif + QStringList listOfOfficeFiles = {QString(_rootPath + "/document.docx"), QString(_rootPath + "/document.odt")}; std::sort(std::begin(listOfOfficeFiles), std::end(listOfOfficeFiles)); diff --git a/test/testsyncmove.cpp b/test/testsyncmove.cpp index 8b5ef5806a..4f775c7fc9 100644 --- a/test/testsyncmove.cpp +++ b/test/testsyncmove.cpp @@ -976,6 +976,10 @@ private slots: void testMovedWithError() { +#if defined Q_OS_MACOS + QSKIP("not reliable on macOS"); +#endif + QFETCH(Vfs::Mode, vfsMode); const auto getName = [vfsMode] (const QString &s) {