Avoid printing three stack traces on CHECK failure. Print just one.

BUG=332468
R=brettw@chromium.org

Review URL: https://codereview.chromium.org/134133002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244564 0039d316-1c4b-4281-b951-d872f2087c98
parent cd6d3897
......@@ -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() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment