osmith has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/53/41153/1
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 change 41153. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Icd75379a875b72ddf3364895bc6a0afc57d2901e
Gerrit-Change-Number: 41153
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>