From 40b16f4037c178d2f6d06d6bc0d0a9ec2af313c8 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Wed, 24 Dec 2014 13:05:21 +0000 Subject: [sanitizer] Disable InternalMmapWithOffset test on Windows. llvm-svn: 224820 --- compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc') diff --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc b/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc index a9e7fca7695..5750c9b9731 100644 --- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc +++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_libc_test.cc @@ -128,6 +128,8 @@ TEST(SanitizerCommon, InternalStrFunctions) { 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, InternalMmapWithOffset) { internal_munmap(p, page_size); internal_unlink(tmpfile); } +#endif -- cgit v1.2.3