From d3d4f757d34995ec01f794f382a210d9e4a019a4 Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Thu, 1 Feb 2018 10:47:42 +0100 Subject: tests/boot-serial: Add tests for PowerPC Mac machines 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 Reviewed-by: Eric Blake Signed-off-by: Thomas Huth --- tests/boot-serial-test.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c index 996d3d7042..72873eea92 100644 --- a/tests/boot-serial-test.c +++ b/tests/boot-serial-test.c @@ -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" }, -- cgit v1.2.3