From: Sam McCall Date: Mon, 14 Jan 2019 17:51:10 +0000 (+0000) Subject: [VFS] Disable unix-assuming VFS test on windows X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=450250e0165bc8968e43038b44453c5a0430eef4;p=llvm [VFS] Disable unix-assuming VFS test on windows git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351079 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Support/VirtualFileSystemTest.cpp b/unittests/Support/VirtualFileSystemTest.cpp index 508725881bf..b072712c638 100644 --- a/unittests/Support/VirtualFileSystemTest.cpp +++ b/unittests/Support/VirtualFileSystemTest.cpp @@ -430,6 +430,7 @@ TEST(VirtualFileSystemTest, BasicRealFSIteration) { EXPECT_EQ(vfs::directory_iterator(), I); } +#ifdef LLVM_ON_UNIX TEST(VirtualFileSystemTest, MultipleWorkingDirs) { // Our root contains a/aa, b/bb, c, where c is a link to a/. // Run tests both in root/b/ and root/c/ (to test "normal" and symlink dirs). @@ -491,7 +492,6 @@ TEST(VirtualFileSystemTest, MultipleWorkingDirs) { ASSERT_EQ(CIt, vfs::directory_iterator()); } -#ifdef LLVM_ON_UNIX TEST(VirtualFileSystemTest, BrokenSymlinkRealFSIteration) { ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/ true); IntrusiveRefCntPtr FS = vfs::getRealFileSystem();