diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/security_unittest.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/base/security_unittest.cc b/base/security_unittest.cc index e6e22a0..4470a14 100644 --- a/base/security_unittest.cc +++ b/base/security_unittest.cc @@ -150,12 +150,6 @@ TEST(SecurityTest, TCMALLOC_TEST(MemoryAllocationRestrictionsNewArray)) { #define DISABLE_ON_IOS_AND_WIN(function) function #endif -#if defined(ADDRESS_SANITIZER) && defined(OS_MACOSX) - #define DISABLE_ON_MAC_WITH_ASAN(function) DISABLED_##function -#else - #define DISABLE_ON_MAC_WITH_ASAN(function) function -#endif - // There are platforms where these tests are known to fail. We would like to // be able to easily check the status on the bots, but marking tests as // FAILS_ is too clunky. @@ -216,7 +210,7 @@ bool CallocReturnsNull(size_t nmemb, size_t size) { } // Test if calloc() can overflow. -TEST(SecurityTest, DISABLE_ON_MAC_WITH_ASAN(CallocOverflow)) { +TEST(SecurityTest, CallocOverflow) { const size_t kArraySize = 4096; const size_t kMaxSizeT = numeric_limits<size_t>::max(); const size_t kArraySize2 = kMaxSizeT / kArraySize + 10; |