Index: base/test/test_suite.cc |
diff --git a/base/test/test_suite.cc b/base/test/test_suite.cc |
index 5154c0578587a7661b3d383a7ffabfaf38b47d31..40d81a6841ac5903e28e03881ad959fbe1918fca 100644 |
--- a/base/test/test_suite.cc |
+++ b/base/test/test_suite.cc |
@@ -239,7 +239,10 @@ void TestSuite::UnitTestAssertHandler(const std::string& str) { |
fflush(stderr); |
} |
#endif // defined(OS_ANDROID) |
- RAW_LOG(FATAL, str.c_str()); |
+ |
+ // The logging system actually prints the message before calling the assert |
+ // handler. Just exit now to avoid printing too many stack traces. |
+ _exit(1); |
} |
void TestSuite::SuppressErrorDialogs() { |