aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/qemu_test/linuxkernel.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-02-28 10:27:36 +0000
committerThomas Huth <thuth@redhat.com>2025-03-07 07:50:19 +0100
commit42ea7f782a32df4ac58e7d9d73e736def3057ef7 (patch)
tree2c383d99d08b2f4508fc0e72fc28a12c3ddee786 /tests/functional/qemu_test/linuxkernel.py
parent188f71929520940048ec5ba85ea30588e0566e6e (diff)
downloadqemu-42ea7f782a32df4ac58e7d9d73e736def3057ef7.zip
qemu-42ea7f782a32df4ac58e7d9d73e736def3057ef7.tar.gz
qemu-42ea7f782a32df4ac58e7d9d73e736def3057ef7.tar.bz2
tests/functional: skip memaddr tests on 32-bit builds
If the QEMU binary was built for a 32-bit ELF target we cannot run the memory address space tests as they all require ability to address more RAM that can be represented on 32-bit. We can't use a decorator to skip the tests as we need setUp() to run to pick the QEMU binary, thus we must call a method at the start of each test to check and skip it. The functional result is effectively the same as using a decorator, just less pretty. This code will go away when 32-bit hosts are full dropped from QEMU. The code allows any non-ELF target since all macOS versions supported at 64-bit only and we already dropped support for 32-bit Windows. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20250228102738.3064045-6-berrange@redhat.com> [thuth: Add missing byteorder='little' to from_bytes()] Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/functional/qemu_test/linuxkernel.py')
0 files changed, 0 insertions, 0 deletions