selftests/nolibc: use EFI -bios for LoongArch qemu
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 31 Oct 2023 20:36:58 +0000 (21:36 +0100)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 11 Dec 2023 21:38:14 +0000 (22:38 +0100)
commitbdeeeaba83682225a7bf5f100fe8652a59590d33
tree773b21401dfce3f213bdb31681c8c3987156be75
parentbb6ec2e9fd8b83b2db68a449754c899a211bf84b
selftests/nolibc: use EFI -bios for LoongArch qemu

qemu for LoongArch does not work properly with direct kernel boot.
The kernel will panic during initialization and hang without any output.

When booting in EFI mode everything work correctly.

While users most likely don't have the LoongArch EFI binary installed at
least an explicit error about 'file not found' is better than a hanging
test without output that can never succeed.

Link: https://lore.kernel.org/loongarch/1738d60a-df3a-4102-b1da-d16a29b6e06a@t-8ch.de/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20231031-nolibc-out-of-tree-v1-1-47c92f73590a@weissschuh.net
tools/testing/selftests/nolibc/Makefile