Index: lib/libc/tests/iconv/Makefile =================================================================== --- lib/libc/tests/iconv/Makefile +++ lib/libc/tests/iconv/Makefile @@ -3,5 +3,6 @@ TESTSDIR= ${TESTSBASE}/lib/libc/iconv ATF_TESTS_C+= iconvctl_test +WARNS?= 2 .include Index: lib/libc/tests/nss/Makefile =================================================================== --- lib/libc/tests/nss/Makefile +++ lib/libc/tests/nss/Makefile @@ -11,6 +11,7 @@ ${PACKAGE}FILES+= mach CFLAGS+= -I${SRCTOP}/tests +WARNS?= 1 ATF_TESTS_C+= getaddrinfo_test ATF_TESTS_C+= getgr_test Index: lib/libcrypt/tests/Makefile =================================================================== --- lib/libcrypt/tests/Makefile +++ lib/libcrypt/tests/Makefile @@ -6,6 +6,7 @@ CFLAGS+= -I${.CURDIR:H} LIBADD= crypt +WARNS?= 6 .include Index: lib/libmp/tests/Makefile =================================================================== --- lib/libmp/tests/Makefile +++ lib/libmp/tests/Makefile @@ -3,5 +3,6 @@ TAP_TESTS_C+= legacy_test LIBADD+= mp +WARNS?= 3 .include Index: lib/libpathconv/tests/Makefile =================================================================== --- lib/libpathconv/tests/Makefile +++ lib/libpathconv/tests/Makefile @@ -6,5 +6,6 @@ #LIBADD+= pathconv #LDADD+= -L .. -lpathconv LDADD+= ../libpathconv.a +WARNS?= 6 .include Index: lib/libproc/tests/Makefile =================================================================== --- lib/libproc/tests/Makefile +++ lib/libproc/tests/Makefile @@ -7,6 +7,7 @@ BINDIR_target_prog= ${TESTSDIR} LIBADD= elf proc rtld_db util +WARNS?= 6 # Ensure that symbols aren't stripped from the test program, as they're needed # for testing symbol lookup. Index: lib/libutil/tests/Makefile =================================================================== --- lib/libutil/tests/Makefile +++ lib/libutil/tests/Makefile @@ -10,5 +10,6 @@ TAP_TESTS_C+= trimdomain-nodomain_test LIBADD+= util +WARNS?= 2 .include Index: lib/msun/tests/Makefile =================================================================== --- lib/msun/tests/Makefile +++ lib/msun/tests/Makefile @@ -96,6 +96,7 @@ # XXX: for some odd reason float.h doesn't tell the full story about what the # precision is. CFLAGS+= -DLDBL_PREC=${LDBL_PREC} +WARNS?= 2 .include Index: libexec/rtld-elf/tests/Makefile =================================================================== --- libexec/rtld-elf/tests/Makefile +++ libexec/rtld-elf/tests/Makefile @@ -4,5 +4,6 @@ SUBDIR_DEPEND_target= libpythagoras ATF_TESTS_C= ld_library_pathfds +WARNS?= 3 .include Index: libexec/rtld-elf/tests/libpythagoras/Makefile =================================================================== --- libexec/rtld-elf/tests/libpythagoras/Makefile +++ libexec/rtld-elf/tests/libpythagoras/Makefile @@ -11,5 +11,6 @@ SRCS= pythagoras.c LIBADD= m +WARNS?= 6 .include Index: libexec/rtld-elf/tests/target/Makefile =================================================================== --- libexec/rtld-elf/tests/target/Makefile +++ libexec/rtld-elf/tests/target/Makefile @@ -10,6 +10,7 @@ LDFLAGS+= -L${.OBJDIR}/../libpythagoras DPADD+= ${.OBJDIR}/../libpythagoras/libpythagoras.a LDADD= -lpythagoras +WARNS?= 3 MAN= Index: usr.sbin/pw/tests/Makefile =================================================================== --- usr.sbin/pw/tests/Makefile +++ usr.sbin/pw/tests/Makefile @@ -6,6 +6,7 @@ PROGS+= crypt LIBADD+= crypt +WARNS?= 6 ATF_TESTS_SH= pw_etcdir \ pw_lock \