[Sanitizer tests] Exclude three tests that fail on Windows

llvm-svn: 208698
This commit is contained in:
Timur Iskhodzhanov 2014-05-13 13:34:00 +00:00
parent e33158bcd1
commit 5812350591
2 changed files with 7 additions and 0 deletions

View File

@ -328,6 +328,7 @@ TEST(SanitizerCommon, SizeClassAllocator64Overflow) {
}
#endif
#if !defined(_WIN32) // FIXME: This currently fails on Windows.
TEST(SanitizerCommon, LargeMmapAllocator) {
LargeMmapAllocator<> a;
a.Init();
@ -403,6 +404,7 @@ TEST(SanitizerCommon, LargeMmapAllocator) {
CHECK_NE(p, (char *)a.GetBlockBegin(p + page_size));
a.Deallocate(&stats, p);
}
#endif
template
<class PrimaryAllocator, class SecondaryAllocator, class AllocatorCache>
@ -477,11 +479,13 @@ TEST(SanitizerCommon, CombinedAllocator64Compact) {
}
#endif
#if !defined(_WIN32) // FIXME: This currently fails on Windows.
TEST(SanitizerCommon, CombinedAllocator32Compact) {
TestCombinedAllocator<Allocator32Compact,
LargeMmapAllocator<>,
SizeClassAllocatorLocalCache<Allocator32Compact> > ();
}
#endif
template <class AllocatorCache>
void TestSizeClassAllocatorLocalCache() {

View File

@ -55,6 +55,8 @@ struct stat_and_more {
unsigned char z;
};
// FIXME: File manipulations are not yet supported on Windows
#if !defined(_WIN32)
TEST(SanitizerCommon, FileOps) {
const char *str1 = "qwerty";
uptr len1 = internal_strlen(str1);
@ -114,6 +116,7 @@ TEST(SanitizerCommon, FileOps) {
EXPECT_EQ(0, internal_memcmp(buf, str2, len2));
internal_close(fd);
}
#endif
TEST(SanitizerCommon, InternalStrFunctions) {
const char *haystack = "haystack";