[XS] Change in osmo-ttcn3-hacks[master]: testenv: add empty lines around backtrace
osmith has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41153?usp=email ) Change subject: testenv: add empty lines around backtrace ...................................................................... testenv: add empty lines around backtrace Make the backtrace stand out visually from the rest of the logs. Change-Id: Icd75379a875b72ddf3364895bc6a0afc57d2901e --- M _testenv/testenv/coredump.py 1 file changed, 3 insertions(+), 2 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified diff --git a/_testenv/testenv/coredump.py b/_testenv/testenv/coredump.py index d3fa35f..d436551 100644 --- a/_testenv/testenv/coredump.py +++ b/_testenv/testenv/coredump.py @@ -118,12 +118,13 @@ logging.info("Running gdb to get a backtrace") - cmd = "gdb" + cmd = "echo; gdb" cmd += " --batch" cmd += f" {shlex.quote(executable_path)}" cmd += f" {shlex.quote(core_path)}" cmd += " -ex bt" - cmd += f" | tee {shlex.quote(core_path)}.backtrace" + cmd += f" | tee {shlex.quote(core_path)}.backtrace;" + cmd += " echo" testenv.cmd.run(cmd) -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41153?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Icd75379a875b72ddf3364895bc6a0afc57d2901e Gerrit-Change-Number: 41153 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith@sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de> Gerrit-Reviewer: osmith <osmith@sysmocom.de>
participants (1)
-
osmith