| Index: base/debug_util_unittest.cc
|
| diff --git a/base/debug_util_unittest.cc b/base/debug_util_unittest.cc
|
| index 7bee4ccbc576403b80373d1c558568134710d465..6d3043f83c555f2b1dc8b090b356f555d47a60ec 100644
|
| --- a/base/debug_util_unittest.cc
|
| +++ b/base/debug_util_unittest.cc
|
| @@ -91,3 +91,18 @@ TEST(StackTrace, DISABLED_OutputToStream) {
|
|
|
| #endif // define(OS_MACOSX)
|
| }
|
| +
|
| +// The test is used for manual testing (i.e. see the raw output).
|
| +// To run the test use the flags:
|
| +// --gtest_filter='*DebugOutputToStream' --gtest_also_run_disabled_tests
|
| +TEST(StackTrace, DISABLED_DebugOutputToStream) {
|
| + StackTrace trace;
|
| + std::ostringstream os;
|
| + trace.OutputToStream(&os);
|
| + LOG(INFO) << os.str();
|
| +}
|
| +
|
| +// The test is used for manual testing. See the comment above.
|
| +TEST(StackTrace, DISABLED_DebugPrintBacktrace) {
|
| + StackTrace().PrintBacktrace();
|
| +}
|
|
|