Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: chrome/test/unit/run_all_unittests.cc

Issue 3105: Enforce Terminate on Heap Corruption in most of our executable on Windows XP ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/ui/run_all_unittests.cc ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/unit/run_all_unittests.cc
===================================================================
--- chrome/test/unit/run_all_unittests.cc (revision 2361)
+++ chrome/test/unit/run_all_unittests.cc (working copy)
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "build/build_config.h"
+#include "base/process_util.h"
#include "base/test_suite.h"
@@ -12,6 +13,7 @@
#endif
int main(int argc, char **argv) {
+ process_util::EnableTerminationOnHeapCorruption();
#if defined(OS_WIN)
// TODO(port): This is not Windows-specific, but needs to be ported.
return ChromeTestSuite(argc, argv).Run();
@@ -19,4 +21,3 @@
return TestSuite(argc, argv).Run();
#endif
}
-
« no previous file with comments | « chrome/test/ui/run_all_unittests.cc ('k') | chrome/tools/convert_dict/convert_dict.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698