summaryrefslogtreecommitdiffstats
path: root/base/test
diff options
context:
space:
mode:
authorwfh <wfh@chromium.org>2016-02-05 17:29:11 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-06 01:30:36 +0000
commit3d5ae6880f89c31701feda4e367ad0b0cad6e0a7 (patch)
treea80261caf0a39804a27f7cbf44332c1c4d770748 /base/test
parent0b6ccf5a8df850b5ada971820f1376cb3c268023 (diff)
downloadchromium_src-3d5ae6880f89c31701feda4e367ad0b0cad6e0a7.zip
chromium_src-3d5ae6880f89c31701feda4e367ad0b0cad6e0a7.tar.gz
chromium_src-3d5ae6880f89c31701feda4e367ad0b0cad6e0a7.tar.bz2
Revert of Enable handle verifier for tests and add some tests. (patchset #11 id:220001 of https://codereview.chromium.org/1580873003/ )
Reason for revert: This breaks on win7 component builds, and also win10. Original issue's description: > Enable handle verifier for tests and add some tests. > > Disable handle verifier hooks if running under drmemory. > > BUG=571304 > CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_chromium_dbg_ng > > Committed: https://crrev.com/5556e56290c41891b0830af9b6b9153b745dd226 > Cr-Commit-Position: refs/heads/master@{#372877} TBR=cpu@chromium.org,scottmg@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=571304,583676,584741 Review URL: https://codereview.chromium.org/1678553002 Cr-Commit-Position: refs/heads/master@{#373983}
Diffstat (limited to 'base/test')
-rw-r--r--base/test/test_suite.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc
index 2653e1f..82510a2 100644
--- a/base/test/test_suite.cc
+++ b/base/test/test_suite.cc
@@ -40,10 +40,7 @@
#endif // OS_IOS
#endif // OS_MACOSX
-#if defined(OS_WIN)
-#include "base/debug/close_handle_hook_win.h"
-#include "base/win/windows_version.h"
-#else
+#if !defined(OS_WIN)
#include "base/i18n/rtl.h"
#if !defined(OS_IOS)
#include "base/strings/string_util.h"
@@ -320,8 +317,6 @@ void TestSuite::Initialize() {
CHECK(debug::EnableInProcessStackDumping());
#if defined(OS_WIN)
- base::debug::InstallHandleHooks();
-
RouteStdioToConsole(true);
// Make sure we run with high resolution timer to minimize differences
// between production code and test code.