From 58f7024919125691fc861c6d8477d6062767c20f Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Mon, 5 Oct 2015 16:52:06 +0200 Subject: [PATCH] Test cases print stack trace on sigsegv --- test/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/main.cpp b/test/main.cpp index f7a14877..ec4a5e33 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -1,6 +1,8 @@ #include "google/gtest/gtest.h" +#include int main(int argc, char **argv) { + cpputils::showBacktraceOnSigSegv(); testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }