]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
tests: Skip pata_test on i386-efi
authorGlenn Washburn <development@efficientek.com>
Sun, 6 Feb 2022 22:00:09 +0000 (16:00 -0600)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 8 Feb 2022 15:06:50 +0000 (16:06 +0100)
In comparison to other i386 targets, on i386-efi the Q35 QEMU machine type
is used to do the testing to be able to make use of the EFI firmware in
QEMU. On the Q35 machine type there is no way to use ATA to communicate with
an IDE, only AHCI.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
tests/pata_test.in

index 27dccec19b34a448d1b7b13f8f915b1fe9cb125e..31144a8fd5cde678e9de37b2b9f0d46c312fee0d 100644 (file)
@@ -29,6 +29,9 @@ case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
     # PLATFORM: no ATA on ARC platforms (they use SCSI)
     *-arc)
        exit 77;;
+    # QEMU: no ATA on Q35 machine type (they use AHCI)
+    i386-efi)
+       exit 77;;
     # FIXME: No native drivers are available for those
     powerpc-ieee1275 | sparc64-ieee1275 | arm*-efi)
        exit 77;;