Blacklist tests failing on valgrind.
bug: 72909916
Change-Id: Ieabb341e7e15713580f96a9daea6b33921ca5306
diff --git a/runtime/mem_map_test.cc b/runtime/mem_map_test.cc
index 3adbf18..172472a 100644
--- a/runtime/mem_map_test.cc
+++ b/runtime/mem_map_test.cc
@@ -166,6 +166,7 @@
// We need mremap to be able to test ReplaceMapping at all
#if HAVE_MREMAP_SYSCALL
TEST_F(MemMapTest, ReplaceMapping_SameSize) {
+ TEST_DISABLED_FOR_MEMORY_TOOL_VALGRIND();
std::string error_msg;
std::unique_ptr<MemMap> dest(MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest",
nullptr,
@@ -203,6 +204,7 @@
}
TEST_F(MemMapTest, ReplaceMapping_MakeLarger) {
+ TEST_DISABLED_FOR_MEMORY_TOOL_VALGRIND();
std::string error_msg;
std::unique_ptr<MemMap> dest(MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest",
nullptr,
@@ -251,6 +253,7 @@
}
TEST_F(MemMapTest, ReplaceMapping_MakeSmaller) {
+ TEST_DISABLED_FOR_MEMORY_TOOL_VALGRIND();
std::string error_msg;
std::unique_ptr<MemMap> dest(MemMap::MapAnonymous("MapAnonymousEmpty-atomic-replace-dest",
nullptr,