| 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 "chrome/test/base/tracing.h" | 5 #include "chrome/test/base/tracing.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/location.h" | 8 #include "base/location.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 } | 164 } |
| 165 | 165 |
| 166 // Multi-process mode. | 166 // Multi-process mode. |
| 167 // Flaky on win and Linux: https://crbug.com/594884. | 167 // Flaky on win and Linux: https://crbug.com/594884. |
| 168 IN_PROC_BROWSER_TEST_F(TracingBrowserTest, DISABLED_TestMemoryInfra) { | 168 IN_PROC_BROWSER_TEST_F(TracingBrowserTest, DISABLED_TestMemoryInfra) { |
| 169 PerformDumpMemoryTestActions(); | 169 PerformDumpMemoryTestActions(); |
| 170 } | 170 } |
| 171 | 171 |
| 172 // Single-process mode. | 172 // Single-process mode. |
| 173 // Flaky (leaking) on linux_chromium_asan_rel_ng: https://crbug.com/585026 | 173 // Flaky (leaking) on linux_chromium_asan_rel_ng: https://crbug.com/585026 |
| 174 // and Windows https://crbug.com/594884 | 174 // and Linux/Windows: https://crbug.com/594884 |
| 175 #if defined(ADDRESS_SANITIZER) || defined(OS_WIN) | 175 #if defined(ADDRESS_SANITIZER) || defined(OS_WIN) || defined(OS_LINUX) |
| 176 #define MAYBE_TestMemoryInfra DISABLED_TestMemoryInfra | 176 #define MAYBE_TestMemoryInfra DISABLED_TestMemoryInfra |
| 177 #else | 177 #else |
| 178 #define MAYBE_TestMemoryInfra TestMemoryInfra | 178 #define MAYBE_TestMemoryInfra TestMemoryInfra |
| 179 #endif | 179 #endif |
| 180 IN_PROC_BROWSER_TEST_F(SingleProcessTracingBrowserTest, MAYBE_TestMemoryInfra) { | 180 IN_PROC_BROWSER_TEST_F(SingleProcessTracingBrowserTest, MAYBE_TestMemoryInfra) { |
| 181 PerformDumpMemoryTestActions(); | 181 PerformDumpMemoryTestActions(); |
| 182 } | 182 } |
| 183 | 183 |
| 184 } // namespace | 184 } // namespace |
| OLD | NEW |