summaryrefslogtreecommitdiffstats
path: root/base/security_unittest.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-29 03:05:33 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-29 03:05:33 +0000
commitaa2c776abb09337ae2111e5123dfe81b8023543c (patch)
treebc3ecd0b2bc202e91ae4ef2a335c4dd0d49b882d /base/security_unittest.cc
parent432219ce14623e8a509e5a840fe2eadf9502cf8d (diff)
downloadchromium_src-aa2c776abb09337ae2111e5123dfe81b8023543c.zip
chromium_src-aa2c776abb09337ae2111e5123dfe81b8023543c.tar.gz
chromium_src-aa2c776abb09337ae2111e5123dfe81b8023543c.tar.bz2
Disable tcmalloc security tests on Windows
BUG=242304 R=jln@chromium.org TBR=jln@chromium.org Review URL: https://chromiumcodereview.appspot.com/15766009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202760 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/security_unittest.cc')
-rw-r--r--base/security_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/security_unittest.cc b/base/security_unittest.cc
index 4470a14..7ac6c4d 100644
--- a/base/security_unittest.cc
+++ b/base/security_unittest.cc
@@ -46,8 +46,9 @@ Type HideValueFromCompiler(volatile Type value) {
// - ADDRESS_SANITIZER because it has its own memory allocator
// - IOS does not use tcmalloc
// - OS_MACOSX does not use tcmalloc
+// - OS_WIN does not use tcmalloc crbug.com/242304
#if !defined(NO_TCMALLOC) && !defined(ADDRESS_SANITIZER) && \
- !defined(OS_IOS) && !defined(OS_MACOSX)
+ !defined(OS_IOS) && !defined(OS_MACOSX) && !defined(OS_WIN)
#define TCMALLOC_TEST(function) function
#else
#define TCMALLOC_TEST(function) DISABLED_##function