[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 16/35] tests/tcg: Use SIGKILL for timeout
From: |
Alex Bennée |
Subject: |
[PULL 16/35] tests/tcg: Use SIGKILL for timeout |
Date: |
Thu, 26 Jan 2023 11:22:31 +0000 |
From: Richard Henderson <richard.henderson@linaro.org>
linux-user blocks all signals while attempting to handle guest
signals (e.g. ABRT), which means that the default TERM sent by timeout
has no effect -- KILL instead.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230117035701.168514-2-richard.henderson@linaro.org>
[AJB: expanded commit message from cover letter]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230124180127.1881110-17-alex.bennee@linaro.org>
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index 14bc013181..a3b0aaf8af 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -54,10 +54,10 @@ cc-option = if $(call cc-test, $1); then \
# $1 = test name, $2 = cmd, $3 = desc
ifeq ($(filter %-softmmu, $(TARGET)),)
-run-test = $(call quiet-command, timeout --foreground $(TIMEOUT) $2 > $1.out, \
+run-test = $(call quiet-command, timeout -s KILL --foreground $(TIMEOUT) $2 >
$1.out, \
TEST,$(or $3, $*, $<) on $(TARGET_NAME))
else
-run-test = $(call quiet-command, timeout --foreground $(TIMEOUT) $2, \
+run-test = $(call quiet-command, timeout -s KILL --foreground $(TIMEOUT) $2, \
TEST,$(or $3, $*, $<) on $(TARGET_NAME))
endif
--
2.34.1
- [PULL 11/35] lcitool: drop perl from QEMU project/dependencies, (continued)
- [PULL 11/35] lcitool: drop perl from QEMU project/dependencies, Alex Bennée, 2023/01/26
- [PULL 06/35] .gitlab-ci.d/windows: do not disable opengl, Alex Bennée, 2023/01/26
- [PULL 18/35] MAINTAINERS: Fix the entry for tests/tcg/nios2, Alex Bennée, 2023/01/26
- [PULL 14/35] tests/docker: drop debian-tricore-cross's partial status, Alex Bennée, 2023/01/26
- [PULL 28/35] thread: de-const qemu_spin_destroy, Alex Bennée, 2023/01/26
- [PULL 13/35] tests/docker: Install flex in debian-tricore-cross, Alex Bennée, 2023/01/26
- [PULL 15/35] tests/tcg: skip the vma-pthread test on CI, Alex Bennée, 2023/01/26
- [PULL 20/35] docs: add a new section to outline emulation support, Alex Bennée, 2023/01/26
- [PULL 29/35] util/qht: use striped locks under TSAN, Alex Bennée, 2023/01/26
- [PULL 09/35] gitlab: add lsan suppression file to workaround tcmalloc issues, Alex Bennée, 2023/01/26
- [PULL 16/35] tests/tcg: Use SIGKILL for timeout,
Alex Bennée <=
- [PULL 30/35] plugins: make qemu_plugin_user_exit's locking order consistent with fork_start's, Alex Bennée, 2023/01/26
- [PULL 26/35] cpu: free cpu->tb_jmp_cache with RCU, Alex Bennée, 2023/01/26
- [PULL 34/35] cpu-exec: assert that plugin_mem_cbs is NULL after execution, Alex Bennée, 2023/01/26
- [PULL 32/35] translator: always pair plugin_gen_insn_{start, end} calls, Alex Bennée, 2023/01/26
- [PULL 31/35] plugins: fix optimization in plugin_gen_disable_mem_helpers, Alex Bennée, 2023/01/26
- [PULL 24/35] semihosting: add O_BINARY flag in host_open for NT compatibility, Alex Bennée, 2023/01/26
- [PULL 23/35] semihosting: Write back semihosting data before completion callback, Alex Bennée, 2023/01/26
- [PULL 19/35] docs: add hotlinks to about preface text, Alex Bennée, 2023/01/26
- [PULL 35/35] plugins: Iterate on cb_lists in qemu_plugin_user_exit, Alex Bennée, 2023/01/26
- [PULL 27/35] util/qht: add missing atomic_set(hashes[i]), Alex Bennée, 2023/01/26