summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-10-06 12:16:27 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-10-06 12:16:27 +0000
commit4c33a1af5d727d2810baf5b6878c3badaf5f05e1 (patch)
tree2a283233d98ff7fe8a75fb1a6d90147eb0ec5386
parentb5bda7c0b0994cdcc78a874c10fa5d2a42e47745 (diff)
downloadbcm5719-llvm-4c33a1af5d727d2810baf5b6878c3badaf5f05e1.tar.gz
bcm5719-llvm-4c33a1af5d727d2810baf5b6878c3badaf5f05e1.zip
BasicTests: Suppress InMemoryFileSystemTest.WindowsPath on win32 while investigating.
llvm-svn: 249395
-rw-r--r--clang/unittests/Basic/VirtualFileSystemTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Basic/VirtualFileSystemTest.cpp b/clang/unittests/Basic/VirtualFileSystemTest.cpp
index ccfac28dc7b..0b767dd0c8d 100644
--- a/clang/unittests/Basic/VirtualFileSystemTest.cpp
+++ b/clang/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(""));
OpenPOWER on IntegriCloud