qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 5/7] tests/functional: skip memaddr tests on 32-bit builds


From: Thomas Huth
Subject: Re: [PATCH v2 5/7] tests/functional: skip memaddr tests on 32-bit builds
Date: Wed, 5 Mar 2025 10:02:46 +0100
User-agent: Mozilla Thunderbird

On 28/02/2025 11.27, Daniel P. Berrangé wrote:
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>
---
  tests/functional/test_mem_addr_space.py | 34 +++++++++++++++++++++++++
  1 file changed, 34 insertions(+)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]