diff options
Diffstat (limited to 'base/debug_util_unittest.cc')
-rw-r--r-- | base/debug_util_unittest.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/base/debug_util_unittest.cc b/base/debug_util_unittest.cc index 7bee4cc..6d3043f 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(); +} |