[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 26/26] tests/tcg/multiarch: Re-enable signals test for most gu
From: |
Richard Henderson |
Subject: |
[PATCH v5 26/26] tests/tcg/multiarch: Re-enable signals test for most guests |
Date: |
Wed, 29 Sep 2021 09:05:53 -0400 |
With signal trampolines safely off the stack for all
guests besides hppa, we can re-enable this test.
It does show up a problem with sh4 (unrelated?),
so leave that test disabled for now.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tests/tcg/hppa/Makefile.target | 7 +++++++
tests/tcg/i386/Makefile.target | 3 ---
tests/tcg/multiarch/Makefile.target | 8 --------
tests/tcg/sh4/Makefile.target | 7 +++++++
4 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/tests/tcg/hppa/Makefile.target b/tests/tcg/hppa/Makefile.target
index 473864d1d4..d0d5e0e257 100644
--- a/tests/tcg/hppa/Makefile.target
+++ b/tests/tcg/hppa/Makefile.target
@@ -5,3 +5,10 @@
# On parisc Linux supports 4K/16K/64K (but currently only 4k works)
EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-16384 run-test-mmap-65536
+# This triggers failures for hppa-linux about 1% of the time
+# HPPA is the odd target that can't use the sigtramp page;
+# it requires the full vdso with dwarf2 unwind info.
+run-signals: signals
+ $(call skip-test, $<, "BROKEN awaiting vdso support")
+run-plugin-signals-with-%:
+ $(call skip-test, $<, "BROKEN awaiting vdso support")
diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target
index a053ca3f15..38c10379af 100644
--- a/tests/tcg/i386/Makefile.target
+++ b/tests/tcg/i386/Makefile.target
@@ -65,9 +65,6 @@ run-plugin-%-with-libinsn.so:
-d plugin -D $*-with-libinsn.so.pout $*, \
"$* (inline) on $(TARGET_NAME)")
-run-plugin-signals-with-libinsn.so:
- $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups and vdso
support")
-
# Update TESTS
I386_TESTS:=$(filter-out $(SKIP_I386_TESTS), $(ALL_X86_TESTS))
TESTS=$(MULTIARCH_TESTS) $(I386_TESTS)
diff --git a/tests/tcg/multiarch/Makefile.target
b/tests/tcg/multiarch/Makefile.target
index 85a6fb7a2e..3f283eabe6 100644
--- a/tests/tcg/multiarch/Makefile.target
+++ b/tests/tcg/multiarch/Makefile.target
@@ -32,14 +32,6 @@ threadcount: LDFLAGS+=-lpthread
signals: LDFLAGS+=-lrt -lpthread
-# This triggers failures on s390x hosts about 4% of the time
-# This triggers failures for hppa-linux about 1% of the time
-run-signals: signals
- $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups and vdso
support")
-
-run-plugin-signals-with-%:
- $(call skip-test, $<, "BROKEN awaiting sigframe clean-ups and vdso
support")
-
# We define the runner for test-mmap after the individual
# architectures have defined their supported pages sizes. If no
# additional page sizes are defined we only run the default test.
diff --git a/tests/tcg/sh4/Makefile.target b/tests/tcg/sh4/Makefile.target
index 9d18d44612..47c39a44b6 100644
--- a/tests/tcg/sh4/Makefile.target
+++ b/tests/tcg/sh4/Makefile.target
@@ -5,3 +5,10 @@
# On sh Linux supports 4k, 8k, 16k and 64k pages (but only 4k currently works)
EXTRA_RUNS+=run-test-mmap-4096 # run-test-mmap-8192 run-test-mmap-16384
run-test-mmap-65536
+
+# This triggers failures for sh4-linux about 10% of the time.
+# Random SIGSEGV at unpredictable guest address, cause unknown.
+run-signals: signals
+ $(call skip-test, $<, "BROKEN")
+run-plugin-signals-with-%:
+ $(call skip-test, $<, "BROKEN")
--
2.25.1
- [PATCH v5 18/26] linux-user/ppc: Simplify encode_trampoline, (continued)
- [PATCH v5 18/26] linux-user/ppc: Simplify encode_trampoline, Richard Henderson, 2021/09/29
- [PATCH v5 16/26] linux-user/nios2: Document non-use of setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 17/26] linux-user/openrisc: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 19/26] linux-user/ppc: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 20/26] linux-user/riscv: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 22/26] linux-user/sh4: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 23/26] linux-user/sparc: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 21/26] linux-user/s390x: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 24/26] linux-user/xtensa: Implement setup_sigtramp, Richard Henderson, 2021/09/29
- [PATCH v5 25/26] linux-user: Remove default for TARGET_ARCH_HAS_SIGTRAMP_PAGE, Richard Henderson, 2021/09/29
- [PATCH v5 26/26] tests/tcg/multiarch: Re-enable signals test for most guests,
Richard Henderson <=