[v3,09/12] selftests/nolibc: customize QEMU_TIMEOUT for ppc64/ppc64le
Commit Message
Both ppc64 and ppc64le use slow bios in some qemu versions, let's
increase the timeout to make sure the running qemu would not be killed
before the test finish.
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
---
tools/testing/selftests/nolibc/Makefile | 2 ++
1 file changed, 2 insertions(+)
@@ -106,6 +106,8 @@ QEMU_ARGS_loongarch = -M virt -append "console=ttyS0,115200 panic=-1 $(TEST:%=N
QEMU_ARGS = $(QEMU_ARGS_$(XARCH)) $(QEMU_ARGS_EXTRA)
# QEMU_TIMEOUT: some architectures can not poweroff normally, especially for tinyconfig
+QEMU_TIMEOUT_ppc64 = 15
+QEMU_TIMEOUT_ppc64le = 25
QEMU_TIMEOUT = $(or $(QEMU_TIMEOUT_$(XARCH)),10)
# OUTPUT is only set when run from the main makefile, otherwise