Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys Fix the build: access_regs_set_unaligned_...



details:   https://anonhg.NetBSD.org/src/rev/961690664897
branches:  trunk
changeset: 1006677:961690664897
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 23 06:17:21 2020 +0000

description:
Fix the build: access_regs_set_unaligned_pc_* tests depend on availability
of gpregs

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 83a01a77e844 -r 961690664897 tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Thu Jan 23 02:57:25 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Thu Jan 23 06:17:21 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.147 2020/01/21 16:46:07 kamil Exp $        */
+/*     $NetBSD: t_ptrace_wait.c,v 1.148 2020/01/23 06:17:21 martin Exp $       */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.147 2020/01/21 16:46:07 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.148 2020/01/23 06:17:21 martin Exp $");
 
 #define __LEGACY_PT_LWPINFO
 
@@ -8449,9 +8449,9 @@
        ATF_TP_ADD_TC_HAVE_GPREGS(tp, access_regs5);
        ATF_TP_ADD_TC_HAVE_GPREGS(tp, access_regs6);
 
-       ATF_TP_ADD_TC(tp, access_regs_set_unaligned_pc_0x1);
-       ATF_TP_ADD_TC(tp, access_regs_set_unaligned_pc_0x3);
-       ATF_TP_ADD_TC(tp, access_regs_set_unaligned_pc_0x7);
+       ATF_TP_ADD_TC_HAVE_GPREGS(tp, access_regs_set_unaligned_pc_0x1);
+       ATF_TP_ADD_TC_HAVE_GPREGS(tp, access_regs_set_unaligned_pc_0x3);
+       ATF_TP_ADD_TC_HAVE_GPREGS(tp, access_regs_set_unaligned_pc_0x7);
 
        ATF_TP_ADD_TC_HAVE_FPREGS(tp, access_fpregs1);
        ATF_TP_ADD_TC_HAVE_FPREGS(tp, access_fpregs2);



Home | Main Index | Thread Index | Old Index