Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen Skip sigfpe_int also for sh3; integer div...
details: https://anonhg.NetBSD.org/src/rev/3a26512c5221
branches: trunk
changeset: 365986:3a26512c5221
user: rin <rin%NetBSD.org@localhost>
date: Sat May 07 13:14:16 2022 +0000
description:
Skip sigfpe_int also for sh3; integer division by zero is not trapped.
diffstat:
tests/lib/libc/gen/t_siginfo.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 669808fff960 -r 3a26512c5221 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c Sat May 07 12:40:40 2022 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c Sat May 07 13:14:16 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.46 2021/12/10 20:36:05 andvar Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.47 2022/05/07 13:14:16 rin Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -367,7 +367,7 @@
struct sigaction sa;
long l = strtol("0", NULL, 10);
-#if defined(__powerpc__) || defined(__aarch64__)
+#if defined(__aarch64__) || defined(__powerpc__) || defined(__sh3__)
atf_tc_skip("Integer division by zero doesn't trap");
#endif
if (sigsetjmp(sigfpe_int_env, 0) == 0) {
Home |
Main Index |
Thread Index |
Old Index