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