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 Update t_siginfo.c build rules



details:   https://anonhg.NetBSD.org/src/rev/9a7456a61dcc
branches:  trunk
changeset: 745084:9a7456a61dcc
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Feb 22 19:14:57 2020 +0000

description:
Update t_siginfo.c build rules

Add logic for MKSANITIZER/MKLIBCSANITIZER checks.

diffstat:

 tests/lib/libc/gen/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 61ce61605b7b -r 9a7456a61dcc tests/lib/libc/gen/Makefile
--- a/tests/lib/libc/gen/Makefile       Sat Feb 22 19:09:51 2020 +0000
+++ b/tests/lib/libc/gen/Makefile       Sat Feb 22 19:14:57 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2019/04/26 19:17:05 maya Exp $
+# $NetBSD: Makefile,v 1.54 2020/02/22 19:14:57 kamil Exp $
 
 .include <bsd.own.mk>
 
@@ -39,6 +39,10 @@
 TESTS_C+=      t_ttyname
 TESTS_C+=      t_vis
 
+.if ${MKSANITIZER:Uno} != "yes" && ${MKLIBCSANITIZER:Uno} != "yes"
+COPTS.t_siginfo.c+=    -DENABLE_TESTS
+.endif
+
 CPPFLAGS.t_siginfo.c+=-D__TEST_FENV
 COPTS.t_fpsetround.c+=${${ACTIVE_CC} == "gcc":? -frounding-math :}
 



Home | Main Index | Thread Index | Old Index