tests/boot-serial: Add tests for PowerPC Mac machines
authorThomas Huth <thuth@redhat.com>
Thu, 1 Feb 2018 09:47:42 +0000 (10:47 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 14 Feb 2018 10:43:42 +0000 (11:43 +0100)
OpenBIOS prints out the CPU type on these machine types, so we can use
this string to test whether the CPU detection is working correctly.

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/boot-serial-test.c

index 996d3d70421331752eebb20b08d7b9f427607672..72873eea92ae8fd0700c7038d55c9a486be3b951 100644 (file)
@@ -69,8 +69,11 @@ static testdef_t tests[] = {
     { "alpha", "clipper", "", "PCI:" },
     { "ppc", "ppce500", "", "U-Boot" },
     { "ppc", "prep", "", "Open Hack'Ware BIOS" },
+    { "ppc", "g3beige", "", "PowerPC,750" },
+    { "ppc", "mac99", "", "PowerPC,G4" },
     { "ppc64", "ppce500", "", "U-Boot" },
     { "ppc64", "prep", "", "Open Hack'Ware BIOS" },
+    { "ppc64", "mac99", "", "PowerPC,970FX" },
     { "ppc64", "pseries", "", "Open Firmware" },
     { "ppc64", "powernv", "-cpu POWER8", "OPAL" },
     { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },