Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2802)

Unified Diff: base/debug/stack_trace_unittest.cc

Issue 16770006: Implement basic stack traces on Android and reenable unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/debug/stack_trace_unittest.cc
diff --git a/base/debug/stack_trace_unittest.cc b/base/debug/stack_trace_unittest.cc
index d2901815725c6187beaa159cbeb847699369a1b5..42c662864170f7e01c808cff03d015d6a4d1c7d5 100644
--- a/base/debug/stack_trace_unittest.cc
+++ b/base/debug/stack_trace_unittest.cc
@@ -126,7 +126,13 @@ TEST_F(StackTraceTest, DebugOutputToStream) {
}
// The test is used for manual testing, e.g., to see the raw output.
-TEST_F(StackTraceTest, DebugPrintBacktrace) {
+// Android implementation crashes due to SIGSTKFLT http://crbug.com/248775
+#if defined(OS_ANDROID)
+#define MAYBE_DebugPrintBacktrace DISABLED_DebugPrintBacktrace
+#else
+#define MAYBE_DebugPrintBacktrace DebugPrintBacktrace
+#endif
+TEST_F(StackTraceTest, MAYBE_DebugPrintBacktrace) {
StackTrace().PrintBacktrace();
}

Powered by Google App Engine
This is Rietveld 408576698