OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/command_line.h" | 5 #include "base/command_line.h" |
6 #include "chrome/browser/extensions/extension_apitest.h" | 6 #include "chrome/browser/extensions/extension_apitest.h" |
7 #include "chrome/common/chrome_switches.h" | 7 #include "chrome/common/chrome_switches.h" |
8 | 8 |
9 // Debugger is flaky on browser_tests on Windows: crbug.com/234166. | 9 // Debugger is flaky on browser_tests on Windows, Linux, and Chrome OS: |
10 #if defined(OS_WIN) | 10 // crbug.com/234166. |
| 11 #if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS) |
11 #define MAYBE(x) DISABLED_##x | 12 #define MAYBE(x) DISABLED_##x |
12 #else | 13 #else |
13 #define MAYBE(x) x | 14 #define MAYBE(x) x |
14 #endif | 15 #endif |
15 | 16 |
16 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE(Debugger)) { | 17 IN_PROC_BROWSER_TEST_F(ExtensionApiTest, MAYBE(Debugger)) { |
17 ASSERT_TRUE(RunExtensionTest("debugger")) << message_; | 18 ASSERT_TRUE(RunExtensionTest("debugger")) << message_; |
18 } | 19 } |
OLD | NEW |