qemu-cr16/tests/functional
Daniel P. Berrangé 03ec40942d tests/functional: ensure GDB client is stopped on error
If the reverse_debugging_run method fails, the GDB client will not
be closed resulting in python complaining about resource leaks.
Hoisting the GDB client creation into the caller allows this to
be cleaned up easily. While doing this, also move the VM shutdown
call to match.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20251014140047.385347-3-berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2025-10-16 17:44:32 +02:00
..
aarch64 tests/functional/aarch64: Drop some sbsaref_alpine tests 2025-10-16 17:44:31 +02:00
acpi-bits tests/functional: Convert the acpi-bits test into a standalone test 2024-09-04 11:14:33 +02:00
alpha tests/functional/alpha: Remove superfluous fetch() line from the clipper test 2025-10-16 17:44:32 +02:00
arm tests/functional/arm: Split the ast2600 tests in two files 2025-10-13 14:37:47 +02:00
avr tests/functional: Move avr tests into architecture specific folder 2025-08-27 09:46:55 +02:00
generic tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
hppa tests/functional/hppa: Add a CD-ROM boot test for qemu-system-hppa 2025-09-24 08:26:11 +02:00
i386 tests/functional: Move i386 tests into architecture specific folder 2025-08-27 09:46:55 +02:00
loongarch64 tests/functional: Move loongarch64 tests into architecture specific folder 2025-08-27 09:46:55 +02:00
m68k tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
microblaze tests/functional: Move microblaze tests into architecture specific folder 2025-08-27 09:46:55 +02:00
microblazeel tests/functional: Move microblaze tests into architecture specific folder 2025-08-27 09:46:55 +02:00
mips tests/functional: Move mips tests into target-specific folders 2025-08-27 09:46:55 +02:00
mips64 tests/functional: Move mips tests into target-specific folders 2025-08-27 09:46:55 +02:00
mips64el tests/functional: use self.log for all logging 2025-09-24 08:26:11 +02:00
mipsel tests/functional: Move mips tests into target-specific folders 2025-08-27 09:46:55 +02:00
or1k tests/functional: Move or1k tests into target-specific folders 2025-08-27 09:46:55 +02:00
ppc tests/functional: Add test for IBM PPE42 instructions 2025-09-28 23:39:53 +05:30
ppc64 tests/functional: Adapt arches to reverse_debugging w/o Avocado 2025-10-07 07:33:40 +01:00
qemu_test tests/functional: Set current time stamp of assets when using them 2025-10-16 17:44:31 +02:00
riscv32 tests/functional: Move riscv32/riscv64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
riscv64 tests/functional: Move riscv32/riscv64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
rx tests/functional: Move rx test into target-specific folders 2025-08-27 09:46:55 +02:00
s390x tests/functional: Use vmstate-static-checker.py to test data from v7.2 2025-09-24 08:26:11 +02:00
sh4 tests/functional: Move sh4/sh4eb tests into target-specific folders 2025-08-27 09:46:55 +02:00
sh4eb tests/functional: Move sh4/sh4eb tests into target-specific folders 2025-08-27 09:46:55 +02:00
sparc tests/functional: Move sparc/sparc64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
sparc64 tests/functional: Move sparc/sparc64 tests into target-specific folders 2025-08-27 09:46:55 +02:00
x86_64 tests/functional: Adapt arches to reverse_debugging w/o Avocado 2025-10-07 07:33:40 +01:00
xtensa tests/functional: Move xtensa tests into target-specific folder 2025-08-27 09:46:55 +02:00
aspeed.py tests/functional/arm: Add helper to generate OTP images 2025-09-29 18:00:20 +02:00
meson.build tests/functional: Provide GDB to the functional tests 2025-10-07 07:33:40 +01:00
migration.py tests/functional: Rework the migration test to have target-specific files 2025-08-27 09:46:55 +02:00
multiprocess.py tests/functional: Rework the multiprocess test to have target-specific files 2025-08-27 09:46:55 +02:00
replay_kernel.py tests/functional: use self.log for all logging 2025-09-24 08:26:11 +02:00
reverse_debugging.py tests/functional: ensure GDB client is stopped on error 2025-10-16 17:44:32 +02:00