]> granicus.if.org Git - clang/commitdiff
BasicTests: Suppress InMemoryFileSystemTest.WindowsPath on win32 while investigating.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 6 Oct 2015 12:16:27 +0000 (12:16 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 6 Oct 2015 12:16:27 +0000 (12:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249395 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Basic/VirtualFileSystemTest.cpp

index ccfac28dc7b3c73fd0cea1f9701c6981d8a4c813..0b767dd0c8de1da9921c1c41dc7bd12b2e6706ef 100644 (file)
@@ -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(""));