summary refs log tree commit diff stats
path: root/tests/guest-debug/run-test.py
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2023-08-29 17:15:23 +0100
committerAlex Bennée <alex.bennee@linaro.org>2023-08-30 14:57:50 +0100
commita8fea70f656416b2ed7d388fbcc7cc6cda126a82 (patch)
tree72eb9b9f318544abf1c0998804c961dab5c4d792 /tests/guest-debug/run-test.py
parentd84842be6c53c03c9498101b509a25961ed5856f (diff)
downloadfocaccia-qemu-a8fea70f656416b2ed7d388fbcc7cc6cda126a82.tar.gz
focaccia-qemu-a8fea70f656416b2ed7d388fbcc7cc6cda126a82.zip
tests/tcg: clean-up gdb confirm/pagination settings
We can do this all in the run-test.py script so remove the extraneous
bits from the individual tests which got copied from the original
non-CI gdb tests.

Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230829161528.2707696-8-alex.bennee@linaro.org>
Diffstat (limited to 'tests/guest-debug/run-test.py')
-rwxr-xr-xtests/guest-debug/run-test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/guest-debug/run-test.py b/tests/guest-debug/run-test.py
index a032e01f79..b13b27d4b1 100755
--- a/tests/guest-debug/run-test.py
+++ b/tests/guest-debug/run-test.py
@@ -83,6 +83,8 @@ if __name__ == '__main__':
         gdb_cmd += " %s" % (args.gdb_args)
     # run quietly and ignore .gdbinit
     gdb_cmd += " -q -n -batch"
+    # disable pagination
+    gdb_cmd += " -ex 'set pagination off'"
     # disable prompts in case of crash
     gdb_cmd += " -ex 'set confirm off'"
     # connect to remote