From 30e6e2af14e84216b1c113fd7500d0822bc81daa Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 18 Jun 2014 11:44:15 -0700 Subject: Add basic stacktrace handler using libunwind. This means we will all have to apt-get install libunwind8-dev on Linux. Mac comes with everything we need already. BUG=skia: R=reed@google.com, mtklein@google.com Author: mtklein@chromium.org Review URL: https://codereview.chromium.org/343583005 --- tests/skia_test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/skia_test.cpp') diff --git a/tests/skia_test.cpp b/tests/skia_test.cpp index b7fbfc627b..f70a7fab62 100644 --- a/tests/skia_test.cpp +++ b/tests/skia_test.cpp @@ -5,6 +5,7 @@ * found in the LICENSE file. */ +#include "CrashHandler.h" #include "OverwriteLine.h" #include "SkCommandLineFlags.h" #include "SkGraphics.h" @@ -132,6 +133,7 @@ static bool should_run(const char* testName, bool isGPUTest) { int tool_main(int argc, char** argv); int tool_main(int argc, char** argv) { + SetupCrashHandler(); SkCommandLineFlags::SetUsage(""); SkCommandLineFlags::Parse(argc, argv); Test::SetResourcePath(FLAGS_resourcePath[0]); -- cgit v1.2.3