From cecc28540bef85122bc57f5c41b5cd0a7fb6d3c6 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Tue, 9 Oct 2018 10:42:35 +0200 Subject: [PATCH] add crash handler to rlc_stress_test --- lib/test/upper/rlc_stress_test.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/test/upper/rlc_stress_test.cc b/lib/test/upper/rlc_stress_test.cc index 9627c6565..0846a61fe 100644 --- a/lib/test/upper/rlc_stress_test.cc +++ b/lib/test/upper/rlc_stress_test.cc @@ -36,6 +36,7 @@ #include #include #include +#include "srslte/common/crash_handler.h" #define LOG_HEX_LIMIT (-1) @@ -407,7 +408,10 @@ void stress_test(stress_test_args_t args) } -int main(int argc, char **argv) { +int main(int argc, char **argv) +{ + srslte_debug_handle_crash(argc, argv); + stress_test_args_t args = {}; parse_args(&args, argc, argv);