1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[VFS] Disable unix-assuming VFS test on windows

llvm-svn: 351079
This commit is contained in:
Sam McCall 2019-01-14 17:51:10 +00:00
parent b09f85a0cd
commit caa0c6d86d

View 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();