From 24022c19a67da9919422e700fc904761e0521788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Botond=20D=C3=A9nes?= Date: Wed, 21 Dec 2022 01:58:57 -0500 Subject: [PATCH] test: scylla-gdb/run: improve diagnostics for failed tests By instructing gdb to print the full python stack in case of errors. --- test/scylla-gdb/run | 1 + 1 file changed, 1 insertion(+) diff --git a/test/scylla-gdb/run b/test/scylla-gdb/run index 889e6124c1..3ccc71ae60 100755 --- a/test/scylla-gdb/run +++ b/test/scylla-gdb/run @@ -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)