Test cases print stack trace on sigsegv

This commit is contained in:
Sebastian Messmer 2015-10-05 16:52:06 +02:00
parent b8f42ee9e5
commit 58f7024919

View File

@ -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();
}