diff mbox series

[v3,09/12] selftests/nolibc: customize QEMU_TIMEOUT for ppc64/ppc64le

Message ID fefba2df5bcffc5f03478da1b595ec5a418b04dd.1690489039.git.falcon@tinylab.org
State New
Headers show
Series [v3,01/12] selftests/nolibc: allow report with existing test log | expand

Commit Message

Zhangjin Wu July 27, 2023, 8:31 p.m. UTC
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(+)
diff mbox series

Patch

diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index 9a57de3b283c..ad2538ec5eb0 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -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