| Index: base/debug_util_unittest.cc
|
| diff --git a/base/debug_util_unittest.cc b/base/debug_util_unittest.cc
|
| index b9300a43bb8dc486ee3d0da9133e87998224aba0..930e9e0865940d7bfd508f52cb69a55f8e62c16e 100644
|
| --- a/base/debug_util_unittest.cc
|
| +++ b/base/debug_util_unittest.cc
|
| @@ -17,6 +17,13 @@ TEST(StackTrace, OutputToStream) {
|
| trace.OutputToStream(&os);
|
| std::string backtrace_message = os.str();
|
|
|
| +#if defined(OS_LINUX) && NDEBUG
|
| + // Stack traces require an extra data table that bloats our binaries,
|
| + // so they're turned off for release builds. We stop the test here,
|
| + // at least letting us verify that the calls don't crash.
|
| + return;
|
| +#endif // defined(OS_LINUX) && NDEBUG
|
| +
|
| size_t frames_found = 0;
|
| trace.Addresses(&frames_found);
|
| ASSERT_GE(frames_found, 5u) <<
|
|
|