Test cases print stack trace on sigsegv
This commit is contained in:
parent
5bb77adc87
commit
78dbe6ea24
@ -1,6 +1,8 @@
|
|||||||
#include "google/gtest/gtest.h"
|
#include "google/gtest/gtest.h"
|
||||||
|
#include <messmer/cpp-utils/assert/backtrace.h>
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
|
cpputils::showBacktraceOnSigSegv();
|
||||||
testing::InitGoogleTest(&argc, argv);
|
testing::InitGoogleTest(&argc, argv);
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user