mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[VFS] Disable unix-assuming VFS test on windows
llvm-svn: 351079
This commit is contained in:
parent
b09f85a0cd
commit
caa0c6d86d
@ -430,6 +430,7 @@ TEST(VirtualFileSystemTest, BasicRealFSIteration) {
|
|||||||
EXPECT_EQ(vfs::directory_iterator(), I);
|
EXPECT_EQ(vfs::directory_iterator(), I);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef LLVM_ON_UNIX
|
||||||
TEST(VirtualFileSystemTest, MultipleWorkingDirs) {
|
TEST(VirtualFileSystemTest, MultipleWorkingDirs) {
|
||||||
// Our root contains a/aa, b/bb, c, where c is a link to a/.
|
// 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).
|
// 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());
|
ASSERT_EQ(CIt, vfs::directory_iterator());
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LLVM_ON_UNIX
|
|
||||||
TEST(VirtualFileSystemTest, BrokenSymlinkRealFSIteration) {
|
TEST(VirtualFileSystemTest, BrokenSymlinkRealFSIteration) {
|
||||||
ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/ true);
|
ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/ true);
|
||||||
IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
|
IntrusiveRefCntPtr<vfs::FileSystem> FS = vfs::getRealFileSystem();
|
||||||
|
Loading…
Reference in New Issue
Block a user