Date: Tue, 30 May 2017 21:03:44 +0000 (UTC) From: Alan Somers <asomers@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r319252 - in stable/10: lib/libc/tests/iconv lib/libc/tests/nss lib/libcrypt/tests lib/libmp/tests lib/libutil/tests lib/msun/tests usr.sbin/pw/tests Message-ID: <201705302103.v4UL3ivh034348@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: asomers Date: Tue May 30 21:03:44 2017 New Revision: 319252 URL: https://svnweb.freebsd.org/changeset/base/319252 Log: 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 Modified: stable/10/lib/libc/tests/iconv/Makefile stable/10/lib/libc/tests/nss/Makefile stable/10/lib/libcrypt/tests/Makefile stable/10/lib/libmp/tests/Makefile stable/10/lib/libutil/tests/Makefile stable/10/lib/msun/tests/Makefile stable/10/usr.sbin/pw/tests/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/tests/iconv/Makefile ============================================================================== --- stable/10/lib/libc/tests/iconv/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/lib/libc/tests/iconv/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -5,5 +5,6 @@ PACKAGE= tests TESTSDIR= ${TESTSBASE}/lib/libc/iconv ATF_TESTS_C+= iconvctl_test +WARNS?= 2 .include <bsd.test.mk> Modified: stable/10/lib/libc/tests/nss/Makefile ============================================================================== --- stable/10/lib/libc/tests/nss/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/lib/libc/tests/nss/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -7,6 +7,7 @@ BINDIR= ${TESTSDIR} FILES+= mach +WARNS?= 1 CFLAGS+= -I${SRCTOP}/tests ATF_TESTS_C+= getaddrinfo_test Modified: stable/10/lib/libcrypt/tests/Makefile ============================================================================== --- stable/10/lib/libcrypt/tests/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/lib/libcrypt/tests/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -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 Modified: stable/10/lib/libmp/tests/Makefile ============================================================================== --- stable/10/lib/libmp/tests/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/lib/libmp/tests/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -4,5 +4,6 @@ TAP_TESTS_C+= legacy_test DPADD+= ${LIBCRYPTO} ${LIBMP} LDADD+= -lcrypto -lmp +WARNS?= 3 .include <bsd.test.mk> Modified: stable/10/lib/libutil/tests/Makefile ============================================================================== --- stable/10/lib/libutil/tests/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/lib/libutil/tests/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -9,5 +9,6 @@ TAP_TESTS_C+= trimdomain-nodomain_test DPADD+= ${LIBUTIL} LDADD+= -lutil +WARNS?= 2 .include <bsd.test.mk> Modified: stable/10/lib/msun/tests/Makefile ============================================================================== --- stable/10/lib/msun/tests/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/lib/msun/tests/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -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 Modified: stable/10/usr.sbin/pw/tests/Makefile ============================================================================== --- stable/10/usr.sbin/pw/tests/Makefile Tue May 30 19:31:02 2017 (r319251) +++ stable/10/usr.sbin/pw/tests/Makefile Tue May 30 21:03:44 2017 (r319252) @@ -4,6 +4,7 @@ BINDIR= ${TESTSDIR} PROGS+= crypt LDADD+= -lcrypt +WARNS?= 6 ATF_TESTS_SH= pw_etcdir_test \ pw_lock_test \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705302103.v4UL3ivh034348>