On 2/5/25 10:47, Daniel P. Berrangé wrote:
On Wed, Feb 05, 2025 at 10:24:08AM -0800, Richard Henderson wrote:
On 2/5/25 07:59, Daniel P. Berrangé wrote:
+
+'''
+Decorator to skip execution of a test on 32-bit targets
+Example:
+
+  @skipIf32BitTarget()
+'''
+def skipIf32BitTarget():
+    enoughBits = sys.maxsize > 2**32

This will work for true 32-bit hosts, and possibly for containers running
emulation, but it won't work for cross-compilation (x86_64 to i686 or
aarch64 to arm).

If we've cross compiled qemu-system-XXXX then we won't be able to
execute any functional tests for those binaries, so is it actually
a problem ?

Absolutely we can execute those binaries, for the specific examples above.


r~

Reply via email to