There is an issue with iasl on big endian machines: It
cannot disassemble acpi tables taken from little endian
machines, so we cannot check the expected tables.

Do not run iasl on those machines until this
problem is solved by the acpica community.

Signed-off-by: Marcel Apfelbaum <marce...@redhat.com>
---
 tests/acpi-test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/acpi-test.c b/tests/acpi-test.c
index 249fe03..af44e47 100644
--- a/tests/acpi-test.c
+++ b/tests/acpi-test.c
@@ -145,8 +145,10 @@ static uint8_t boot_sector[0x7e000] = {
 
 static const char *disk = "tests/acpi-test-disk.raw";
 static const char *data_dir = "tests/acpi-test-data";
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
 #ifdef CONFIG_IASL
 static const char *iasl = stringify(CONFIG_IASL);
+#endif
 #else
 static const char *iasl;
 #endif
-- 
1.8.3.1


Reply via email to