#include "google/gtest/gtest.h"
#include <messmer/cpp-utils/assert/backtrace.h>

int main(int argc, char **argv) {
  cpputils::showBacktraceOnSigSegv();
  testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}

#include "google/gtest/gtest.h"

int main(int argc, char **argv) {
  testing::InitGoogleTest(&argc, argv);
  return RUN_ALL_TESTS();
}

--- 
+++ 
@@ -1,6 +1,8 @@
 #include "google/gtest/gtest.h"
+#include <messmer/cpp-utils/assert/backtrace.h>
 
 int main(int argc, char **argv) {
+  cpputils::showBacktraceOnSigSegv();
   testing::InitGoogleTest(&argc, argv);
   return RUN_ALL_TESTS();
 }
Test cases print stack trace on sigsegv
