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/e73090e8c21a
branches:  trunk
changeset: 969509:e73090e8c21a
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 57f972c7a127 -r e73090e8c21a 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