r249395 - BasicTests: Suppress InMemoryFileSystemTest.WindowsPath on win32 while investigating.

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 6 05:16:27 PDT 2015


Author: chapuni
Date: Tue Oct  6 07:16:27 2015
New Revision: 249395

URL: http://llvm.org/viewvc/llvm-project?rev=249395&view=rev
Log:
BasicTests: Suppress InMemoryFileSystemTest.WindowsPath on win32 while investigating.

Modified:
    cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp

Modified: cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp?rev=249395&r1=249394&r2=249395&view=diff
==============================================================================
--- cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp (original)
+++ cfe/trunk/unittests/Basic/VirtualFileSystemTest.cpp Tue Oct  6 07:16:27 2015
@@ -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(""));




More information about the cfe-commits mailing list