summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorSam McCall <sam.mccall@gmail.com>2019-01-14 17:51:10 +0000
committerSam McCall <sam.mccall@gmail.com>2019-01-14 17:51:10 +0000
commit62ab1a1ac5e8d25143f22e7e859f88c44d666843 (patch)
tree6b7ab1acd299bee4b15f553d15a046ac66f8fbf8 /llvm/unittests
parent6c35c8e2e8824c55b61d671824f948a5571968ed (diff)
downloadbcm5719-llvm-62ab1a1ac5e8d25143f22e7e859f88c44d666843.tar.gz
bcm5719-llvm-62ab1a1ac5e8d25143f22e7e859f88c44d666843.zip
[VFS] Disable unix-assuming VFS test on windows
llvm-svn: 351079
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/Support/VirtualFileSystemTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/VirtualFileSystemTest.cpp b/llvm/unittests/Support/VirtualFileSystemTest.cpp
index 508725881bf..b072712c638 100644
--- a/llvm/unittests/Support/VirtualFileSystemTest.cpp
+++ b/llvm/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<vfs::FileSystem> FS = vfs::getRealFileSystem();
OpenPOWER on IntegriCloud