1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

tests: viracpitest only works on little endian

Commit fc216db4fb introduced a mocked test with binary test data
which fails on big endian machines.
Therefore build the viracpitest test only on little endian machines.

Fixes: fc216db4fb

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Boris Fiuczynski 2023-04-18 11:53:08 +02:00 committed by Michal Privoznik
parent 98d5b07f6d
commit f1998a63e3

View File

@ -269,7 +269,6 @@ tests += [
{ 'name': 'storagevolxml2xmltest' },
{ 'name': 'sysinfotest' },
{ 'name': 'utiltest' },
{ 'name': 'viracpitest' },
{ 'name': 'viralloctest' },
{ 'name': 'virauthconfigtest' },
{ 'name': 'virbitmaptest' },
@ -308,6 +307,12 @@ tests += [
{ 'name': 'virmigtest' },
]
if host_machine.endian() == 'little'
tests += [
{ 'name': 'viracpitest' },
]
endif
if host_machine.system() == 'linux'
tests += [
{ 'name': 'fchosttest' },