From 43ed5c2ad4382d64b4657dce0770485d116e34f7 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Fri, 30 Jul 2021 12:52:54 +0200 Subject: [PATCH] Add crash handler to enb_phy_test --- srsenb/test/phy/enb_phy_test.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srsenb/test/phy/enb_phy_test.cc b/srsenb/test/phy/enb_phy_test.cc index dc497b053..a9bbb9c91 100644 --- a/srsenb/test/phy/enb_phy_test.cc +++ b/srsenb/test/phy/enb_phy_test.cc @@ -1480,6 +1480,10 @@ int parse_args(int argc, char** argv, phy_test_bench::args_t& args) int main(int argc, char** argv) { + // First of all, initialise crash handler - Crash files from ctest executions will be stored in + // srsenb/test/phy/srsRAN.backtrace.crash + srsran_debug_handle_crash(argc, argv); + phy_test_bench::args_t test_args; // Parse arguments