Skip to content

Commit 4fde9a3

Browse files
committed
Utility: make FileWatcherTest not XPASS on iOS.
This used to fail on iOS back when Travis CI was used, but on CircleCI emulator it passes. Since the whole thing needs to be reworked to use OS filesystem watchers (and it's quite useless on iOS anyway), I don't really care.
1 parent 38c1154 commit 4fde9a3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Corrade/Utility/Test/FileWatcherTest.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,10 @@ void FileWatcherTest::changedClearedIgnoreEmpty() {
322322
/* When the file becomes non-empty again, the change is signalled */
323323
CORRADE_VERIFY(Directory::writeString(_filename, "some content again"));
324324
{
325-
#ifdef CORRADE_TARGET_IOS
326-
CORRADE_EXPECT_FAIL("iOS seems to be reporting all file sizes to be 0, so the IgnoreChangeIfEmpty flag is ignored there.");
327-
#endif
325+
/* This used to fail on iOS back when Travis CI was used, but on
326+
CircleCI emulator it passes. Since the whole thing needs to be
327+
reworked to use OS filesystem watchers (and it's quite useless on
328+
iOS anyway), I don't really care. */
328329
CORRADE_VERIFY(watcher.hasChanged());
329330
}
330331
}

0 commit comments

Comments
 (0)