mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 12:36:56 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user