summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/__init__.py
diff options
context:
space:
mode:
authorGustavo Romero <gustavo.romero@linaro.org>2025-10-03 14:18:15 +0000
committerAlex Bennée <alex.bennee@linaro.org>2025-10-07 07:33:40 +0100
commitaa7b1b726a0009c9147d9e2f64e0f6e82d4394af (patch)
tree1f226a8b39e32693a547c8d2dd61b25f89e69819 /tests/functional/qemu_test/__init__.py
parentb46b3818cf8d838991b15f20d3cb747b71ce040e (diff)
downloadfocaccia-qemu-aa7b1b726a0009c9147d9e2f64e0f6e82d4394af.tar.gz
focaccia-qemu-aa7b1b726a0009c9147d9e2f64e0f6e82d4394af.zip
tests/functional: Add GDB class
Add GDB class, which provides methods to run GDB commands and capture
their output. The GDB class is a wrapper around the pygdbmi module and
interacts with GDB via GDB's machine interface (MI).

Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Message-ID: <20251003141820.85278-5-gustavo.romero@linaro.org>
[AJB: trimmed excess license text]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test/__init__.py')
-rw-r--r--tests/functional/qemu_test/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu_test/__init__.py
index 6e666a059f..60d19891bf 100644
--- a/tests/functional/qemu_test/__init__.py
+++ b/tests/functional/qemu_test/__init__.py
@@ -18,3 +18,4 @@ from .decorators import skipIfMissingCommands, skipIfNotMachine, \
     skipIfMissingImports, skipIfOperatingSystem, skipLockedMemoryTest
 from .archive import archive_extract
 from .uncompress import uncompress
+from .gdb import GDB