Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas an
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas and introduced a WARNS=7 and wanted to try lifting the default tothat.Drop most of them; there is one in the blake2 kernel module, but I suspectit should be dropped -- the default WARNS in the rest of the build doesn'tcurrently apply to kernel modules, and I haven't put too much thought intowhether it makes sense to make it so.
show more ...
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
Increase WARNS for libcrypt testsATF tests have a default WARNS of 0, unlike other usermode programs.Reviewed by: ngie, julianMFC after: 3 weeksSponsored by: Spectra Logic CorporationDiffe
Increase WARNS for libcrypt testsATF tests have a default WARNS of 0, unlike other usermode programs.Reviewed by: ngie, julianMFC after: 3 weeksSponsored by: Spectra Logic CorporationDifferential Revision: https://reviews.freebsd.org/D9933
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that na
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installedafter r298107Summary of changes:- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed- Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc- Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously.- Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk- Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk.- Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo- Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)Document the proposed changes in share/examples/tests/tests/... via examplesso it's clear that ${PACKAGES}FILES is the suggested way forward in terms ofreplacing FILES. share/mk/bsd.README didn't seem like the appropriate methodof communicating that info.MFC after: never probablyX-MFC with: r298107PR: 209114Relnotes: yesTested with: buildworld, installworld, checkworld; buildworld, packageworldSponsored by: EMC / Isilon Storage Division
DIRDEPS_BUILD: Connect MK_TESTS.Sponsored by: EMC / Isilon Storage Division
First pass to fix the 'tests' packages.Sponsored by: The FreeBSD Foundation
Enable libcrypt tests.kyua 0.12 has fix for https://github.com/jmmv/kyua/pull/148which eliminates invalid XML characters from being written to test reportswith "kyua report-junit".
Temporarily comment out the libcrypt tests.They are emitting characters which are triggeringa kyua bug which causes kyua to emit invalid XML.This invalid XML is causing false failures in Jenkins.
Temporarily comment out the libcrypt tests.They are emitting characters which are triggeringa kyua bug which causes kyua to emit invalid XML.This invalid XML is causing false failures in Jenkins.On a separate note, kyua needs to be fixed with this: https://github.com/jmmv/kyua/pull/148or something similar.
Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSDtest suite as lib/libcrypt/crypt_testMFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) andnetbsd-tests.test.mk (r289151)- Eliminate explicit OBJTOP/SRCTOP setting- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk- Remove unnecessary TESTSDIR setting- Use SRCTOP where possible for clarityMFC after: 2 weeksSponsored by: EMC / Isilon Storage Divison
META_MODE: Remove DEP_RELDIR from Makefile.depend files.This has not been needed since r284171 in projects/bmake.Sponsored by: EMC / Isilon Storage Division
Fix typo when deregistering the VLAN unconfig event handlerSubmitted by: Masao Uebayashi <[email protected]>MFC after: 3 days
Fix include of atf-c.h
Convert libraries to use LIBADDWhile here reduce a bit overlinking
Add LIBCRYPT to DPADD, remove LDFLAGS from LDADD, and sort the Makefile variablesThis fixes "make checkdpadd"Phabric: D620Approved by: jmmv (mentor)PR: 192729MFC after: 5 days
Make bsd.test.mk the only public mk fragment for the building of tests.Change {atf,plain,tap}.test.mk to be internal implementation details ofbsd.test.mk. Makefiles that build tests should now on
Make bsd.test.mk the only public mk fragment for the building of tests.Change {atf,plain,tap}.test.mk to be internal implementation details ofbsd.test.mk. Makefiles that build tests should now only include bsd.test.mkand declaratively specify what they want to build, without worrying aboutthe internal implementation of the mk files.The reason for this change is to permit building test programs of differentinterfaces from a single directory, which is something I had a need forwhile porting tests over from src/tools/regression/.Additionally, this change makes it possible to perform some other requestedchanges to bsd.test.mk in an easier manner. Coming soon.
Set up the /usr/tests hierarchy.Populate /usr/tests with the only test programs that currently livein the tree (those in lib/libcrypt/tests/) and add all the buildmachinery to accompany this chan
Set up the /usr/tests hierarchy.Populate /usr/tests with the only test programs that currently livein the tree (those in lib/libcrypt/tests/) and add all the buildmachinery to accompany this change.In particular:- Add a WITHOUT_TESTS variable that users can define to request that no tests be put in /usr/tests.- Add a top-level Kyuafile for /usr/tests and a way to create similar Kyuafiles in top-level subdirectories.- Add a BSD.tests.dist file to define the directory layout of /usr/tests.Submitted by: Julio Merino jmmv google.comReviewed by: sjgMFC after: 2 weeks
Clearly split the logic to build ATF and plain tests apart.This change introduces a new plain.test.mk file that provides the buildinfrastructure to build test programs that don't use any framework
Clearly split the logic to build ATF and plain tests apart.This change introduces a new plain.test.mk file that provides the buildinfrastructure to build test programs that don't use any framework.Most of the code previously in bsd.test.mk moves to plain.test.mk andatf.test.mk is extended with the missing pieces.In doing so, this change pushes all test program building logic to thevarious *.test.mk files instead of trying to reuse some tiny bits.In fact, this attempt to reuse some definitions makes the code harderto read and harder to extend.The clear benefit of this is that the interface of bsd.test.mk is nowclearly delimited.Submitted by: Julio Merino jmmv google.comMFC after: 2 weeks
Remove most of the ATF tools and the _atf user.This is necessary because ATF is deprecated and it will be replaced by Kyua.Submitted by: [email protected]Reviewed by: Garrett CooperApproved by: re
Fix building of crypt_tests
Simple unit-tests for libcrypt, to show how easy it is.Approved by: marcel (mentor)