浏览代码

BasicTests: Suppress InMemoryFileSystemTest.WindowsPath on win32 while investigating.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249395 91177308-0d34-0410-b5e6-96231b3b80d8
NAKAMURA Takumi 10 年之前
父节点
当前提交
a2c0293f90
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      unittests/Basic/VirtualFileSystemTest.cpp

+ 2 - 0
unittests/Basic/VirtualFileSystemTest.cpp

@@ -536,7 +536,9 @@ TEST_F(InMemoryFileSystemTest, IsEmpty) {
 TEST_F(InMemoryFileSystemTest, WindowsPath) {
   FS.addFile("c:/windows/system128/foo.cpp", 0, MemoryBuffer::getMemBuffer(""));
   auto Stat = FS.status("c:");
+#if !defined(_WIN32)
   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
+#endif
   Stat = FS.status("c:/windows/system128/foo.cpp");
   ASSERT_FALSE(Stat.getError()) << Stat.getError() << FS.toString();
   FS.addFile("d:/windows/foo.cpp", 0, MemoryBuffer::getMemBuffer(""));