]> granicus.if.org Git - llvm/commitdiff
[VFS] Disable unix-assuming VFS test on windows
authorSam McCall <sam.mccall@gmail.com>
Mon, 14 Jan 2019 17:51:10 +0000 (17:51 +0000)
committerSam McCall <sam.mccall@gmail.com>
Mon, 14 Jan 2019 17:51:10 +0000 (17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351079 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/VirtualFileSystemTest.cpp

index 508725881bfdbb98847b9e736fa6c96027cbcff8..b072712c6388ab5cdf18686b468b6cda335e274a 100644 (file)
@@ -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<vfs::FileSystem> FS = vfs::getRealFileSystem();