[compiler-rt] r224820 - [sanitizer] Disable InternalMmapWithOffset test on Windows.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Dec 24 05:05:22 PST 2014


Author: eugenis
Date: Wed Dec 24 07:05:21 2014
New Revision: 224820

URL: http://llvm.org/viewvc/llvm-project?rev=224820&view=rev
Log:
[sanitizer] Disable InternalMmapWithOffset test on Windows.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc?rev=224820&r1=224819&r2=224820&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/sanitizer_libc_test.cc Wed Dec 24 07:05:21 2014
@@ -128,6 +128,8 @@ TEST(SanitizerCommon, InternalStrFunctio
   EXPECT_EQ(haystack + 8, internal_strchrnul(haystack, 'z'));
 }
 
+// FIXME: File manipulations are not yet supported on Windows
+#if !defined(_WIN32)
 TEST(SanitizerCommon, InternalMmapWithOffset) {
   char tmpfile[128];
   temp_file_name(tmpfile, sizeof(tmpfile),
@@ -153,3 +155,4 @@ TEST(SanitizerCommon, InternalMmapWithOf
   internal_munmap(p, page_size);
   internal_unlink(tmpfile);
 }
+#endif





More information about the llvm-commits mailing list