test: scylla-gdb/run: improve diagnostics for failed tests

By instructing gdb to print the full python stack in case of errors.
This commit is contained in:
Botond Dénes
2022-12-21 01:58:57 -05:00
parent bbfb9556fc
commit 24022c19a6

View File

@@ -47,6 +47,7 @@ def run_pytest_in_gdb(pytest_dir, additional_parameters):
sys.stdout.flush()
os.execvp('gdb', ['gdb',
'-batch', '-n', '-se', run.scylla,
'-ex', 'set python print-stack full',
'-ex', 'python ' + pytest_cmd,
])
exit(1)