OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/at_exit.h" | 5 #include "base/at_exit.h" |
6 #include "base/platform_thread.h" | 6 #include "base/platform_thread.h" |
| 7 #include "base/process_util.h" |
7 #include "chrome/test/ui/ui_test_suite.h" | 8 #include "chrome/test/ui/ui_test_suite.h" |
8 | 9 |
9 int main(int argc, char **argv) { | 10 int main(int argc, char **argv) { |
| 11 process_util::EnableTerminationOnHeapCorruption(); |
10 PlatformThread::SetName("Tests_Main"); | 12 PlatformThread::SetName("Tests_Main"); |
11 return UITestSuite(argc, argv).Run(); | 13 return UITestSuite(argc, argv).Run(); |
12 } | 14 } |
13 | |
OLD | NEW |