diff options
author | Gustavo Romero <gustavo.romero@linaro.org> | 2025-08-27 00:10:08 +0000 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2025-08-27 09:46:22 +0200 |
commit | 36fb9796662e8d1f8626b1cacb1a6d5e35a8bd00 (patch) | |
tree | 0ce4f41b5344f81aecd8759589ed5e2766db4147 /tests/functional/test_arm_replay.py | |
parent | 19ae064832dd915e14306c03b94a505abc13b873 (diff) | |
download | qemu-36fb9796662e8d1f8626b1cacb1a6d5e35a8bd00.zip qemu-36fb9796662e8d1f8626b1cacb1a6d5e35a8bd00.tar.gz qemu-36fb9796662e8d1f8626b1cacb1a6d5e35a8bd00.tar.bz2 |
tests/functional: Fix reverse_debugging asset precaching
This commit fixes the asset precaching in the reverse_debugging test on
aarch64.
QemuBaseTest.main() precaches assets (kernel, rootfs, DT blobs, etc.)
that are defined in variables with the ASSET_ prefix. This works because
it ultimately calls Asset.precache_test(), which relies on introspection
to locate these variables.
If an asset variable is not named with the ASSET_ prefix, precache_test
cannot find the asset and precaching silently fails. Hence, fix the
asset precaching by fixing the asset variable name.
Signed-off-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-ID: <20250827001008.22112-1-gustavo.romero@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/test_arm_replay.py')
0 files changed, 0 insertions, 0 deletions