[llvm] r351079 - [VFS] Disable unix-assuming VFS test on windows
Sam McCall via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 14 09:51:10 PST 2019
Author: sammccall
Date: Mon Jan 14 09:51:10 2019
New Revision: 351079
URL: http://llvm.org/viewvc/llvm-project?rev=351079&view=rev
Log:
[VFS] Disable unix-assuming VFS test on windows
Modified:
llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp
Modified: llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp?rev=351079&r1=351078&r2=351079&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp (original)
+++ llvm/trunk/unittests/Support/VirtualFileSystemTest.cpp Mon Jan 14 09:51:10 2019
@@ -430,6 +430,7 @@ TEST(VirtualFileSystemTest, BasicRealFSI
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, MultipleWork
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();
More information about the llvm-commits
mailing list