tests/tcg/multiarch: Re-enable signals test for most guests
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 29 Sep 2021 13:05:53 +0000 (09:05 -0400)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 1 Oct 2021 10:03:48 +0000 (12:03 +0200)
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>
Message-Id: <20210929130553.121567-27-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
tests/tcg/hppa/Makefile.target
tests/tcg/i386/Makefile.target
tests/tcg/multiarch/Makefile.target
tests/tcg/sh4/Makefile.target

index 473864d1d46846ea927b9bcceaef1cffd2bbf159..d0d5e0e25761145169f05010ad3e7390ba03cab1 100644 (file)
@@ -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")
index a053ca3f15324df6ea800d27d682b51c141c45d6..38c10379af0f17ad4455dd4341a4bd0c56939563 100644 (file)
@@ -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)
index 85a6fb7a2ea019a409fda2c5876c1a55a34b1ab3..3f283eabe6dae520aa9940ee0f81dcb5b8ae8c05 100644 (file)
@@ -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.
index 9d18d44612e1af3bf9fd7d2d88d2d22830df5ef4..47c39a44b69073f7872393b536d6a2f71afd4ed0 100644 (file)
@@ -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")