summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2017-05-30 21:03:44 +0000
committerasomers <asomers@FreeBSD.org>2017-05-30 21:03:44 +0000
commit1befd144180825512ba616cbe57111339e725319 (patch)
tree20e69e6e16a616826299c69df5e6942f1ab164b1 /lib
parentbc305a920e1425804974eb4cc413f04f380d53b4 (diff)
downloadFreeBSD-src-1befd144180825512ba616cbe57111339e725319.zip
FreeBSD-src-1befd144180825512ba616cbe57111339e725319.tar.gz
MFC r315032-r315036, r315039, r315041
r315032: Increase WARNS for iconv tests ATF tests have a default WARNS of 0, unlike other usermode programs. Reviewed by: ngie Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 r315033: Increase WARNS for nss tests ATF tests have a default WARNS of 0, unlike other usermode programs. Reviewed by: ngie Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 r315034: Document that the msun tests require WARNS=0 ATF tests have a default WARNS of 0, unlike other usermode programs. This change is technically a noop, but it documents that the msun tests don't work with any warnings enabled, at least not on all architectures. Reviewed by: ngie Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 r315035: Increase WARNS for libcrypt tests ATF tests have a default WARNS of 0, unlike other usermode programs. Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 r315036: Increase WARNS for libmp tests ATF tests have a default WARNS of 0, unlike other usermode programs. Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 r315039: Increase WARNS for libutil tests ATF tests have a default WARNS of 0, unlike other usermode programs. Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933 r315041: Increase WARNS for pw tests ATF tests have a default WARNS of 0, unlike other usermode programs. Reviewed by: ngie, julian Sponsored by: Spectra Logic Corporation Differential Revision: https://reviews.freebsd.org/D9933
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/tests/iconv/Makefile1
-rw-r--r--lib/libc/tests/nss/Makefile1
-rw-r--r--lib/libcrypt/tests/Makefile1
-rw-r--r--lib/libmp/tests/Makefile1
-rw-r--r--lib/libutil/tests/Makefile1
-rw-r--r--lib/msun/tests/Makefile2
6 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/tests/iconv/Makefile b/lib/libc/tests/iconv/Makefile
index e6ae03e..c412f90 100644
--- a/lib/libc/tests/iconv/Makefile
+++ b/lib/libc/tests/iconv/Makefile
@@ -5,5 +5,6 @@ PACKAGE= tests
TESTSDIR= ${TESTSBASE}/lib/libc/iconv
ATF_TESTS_C+= iconvctl_test
+WARNS?= 2
.include <bsd.test.mk>
diff --git a/lib/libc/tests/nss/Makefile b/lib/libc/tests/nss/Makefile
index 1b777c2..2cf6999 100644
--- a/lib/libc/tests/nss/Makefile
+++ b/lib/libc/tests/nss/Makefile
@@ -7,6 +7,7 @@ BINDIR= ${TESTSDIR}
FILES+= mach
+WARNS?= 1
CFLAGS+= -I${SRCTOP}/tests
ATF_TESTS_C+= getaddrinfo_test
diff --git a/lib/libcrypt/tests/Makefile b/lib/libcrypt/tests/Makefile
index 8e3fc2e..b7f9c0e 100644
--- a/lib/libcrypt/tests/Makefile
+++ b/lib/libcrypt/tests/Makefile
@@ -6,6 +6,7 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libcrypt
NETBSD_ATF_TESTS_C+= crypt_test
+WARNS?= 6
CFLAGS+= -I${.CURDIR:H}
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
diff --git a/lib/libmp/tests/Makefile b/lib/libmp/tests/Makefile
index d556347..037ab9c 100644
--- a/lib/libmp/tests/Makefile
+++ b/lib/libmp/tests/Makefile
@@ -4,5 +4,6 @@ TAP_TESTS_C+= legacy_test
DPADD+= ${LIBCRYPTO} ${LIBMP}
LDADD+= -lcrypto -lmp
+WARNS?= 3
.include <bsd.test.mk>
diff --git a/lib/libutil/tests/Makefile b/lib/libutil/tests/Makefile
index 92540c9..dd7f045 100644
--- a/lib/libutil/tests/Makefile
+++ b/lib/libutil/tests/Makefile
@@ -9,5 +9,6 @@ TAP_TESTS_C+= trimdomain-nodomain_test
DPADD+= ${LIBUTIL}
LDADD+= -lutil
+WARNS?= 2
.include <bsd.test.mk>
diff --git a/lib/msun/tests/Makefile b/lib/msun/tests/Makefile
index 318fc7b..0d70cd4 100644
--- a/lib/msun/tests/Makefile
+++ b/lib/msun/tests/Makefile
@@ -2,6 +2,8 @@
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/lib/libm
+WARNS?= 0
+
# All architectures on FreeBSD have fenv.h
CFLAGS+= -DHAVE_FENV_H
# For isqemu.h
OpenPOWER on IntegriCloud