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 aarch64 doesn't trap integer division by ...



details:   https://anonhg.NetBSD.org/src/rev/e493aa4031b7
branches:  trunk
changeset: 969187:e493aa4031b7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Feb 11 03:11:42 2020 +0000

description:
aarch64 doesn't trap integer division by zero either.

diffstat:

 tests/lib/libc/gen/t_siginfo.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r d73a36271c27 -r e493aa4031b7 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c    Tue Feb 11 00:41:37 2020 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c    Tue Feb 11 03:11:42 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.36 2019/04/25 20:48:54 kamil Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.37 2020/02/11 03:11:42 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -366,8 +366,8 @@
        struct sigaction sa;
        long l = strtol("0", NULL, 10);
 
-#if defined(__powerpc__)
-       atf_tc_skip("Test not valid on powerpc");
+#if defined(__powerpc__) || defined(__aarch64__)
+       atf_tc_skip("Integer division by zero doesn't trap");
 #endif
        if (sigsetjmp(sigfpe_int_env, 0) == 0) {
                sa.sa_flags = SA_SIGINFO;



Home | Main Index | Thread Index | Old Index