[llvm-commits] [llvm] r159098 - /llvm/trunk/unittests/Support/Path.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Sat Jun 23 20:48:35 PDT 2012
Author: chapuni
Date: Sat Jun 23 22:48:34 2012
New Revision: 159098
URL: http://llvm.org/viewvc/llvm-project?rev=159098&view=rev
Log:
unittests/Support/Path.cpp: [Win32] Suppress FileSystemTest.Permissions for now.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=159098&r1=159097&r2=159098&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Sat Jun 23 22:48:34 2012
@@ -312,7 +312,7 @@
}
}
-
+#if !defined(_WIN32) // FIXME: Win32 has different permission schema.
TEST_F(FileSystemTest, Permissions) {
// Create a temp file.
int FileDescriptor;
@@ -338,6 +338,7 @@
AnyWriteBits = (Status.permissions() & AllWrite);
EXPECT_TRUE(AnyWriteBits);
}
+#endif
TEST_F(FileSystemTest, FileMapping) {
// Create a temp file.
More information about the llvm-commits
mailing list