Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
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
show more ...
Fix including Kyuafile in packaged base system.Fix a related typo while here.Note, this change results in the Kyuafile inclusion in the runtimepackage, which needs to be fixed, however addresses
Fix including Kyuafile in packaged base system.Fix a related typo while here.Note, this change results in the Kyuafile inclusion in the runtimepackage, which needs to be fixed, however addresses the PR as faras I can tell in my tests.PR: 209114Submitted by: ngieSponsored by: The FreeBSD Foundation
DIRDEPS_BUILD: Connect MK_TESTS.Sponsored by: EMC / Isilon Storage Division
Avoid adding the '-release' suffix to non-debug kernel packages.Sponsored by: The FreeBSD Foundation
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
MFV: Import atf-0.21.
Fix atf-sh's integration_testWith the move of atf-sh into /usr/libexec in r267181, some of thetests in the integration_test program broke because they could notexecute atf-sh from the path any lo
Fix atf-sh's integration_testWith the move of atf-sh into /usr/libexec in r267181, some of thetests in the integration_test program broke because they could notexecute atf-sh from the path any longer.This slipped through because I do have a local atf installation inmy home directory that appears in my path, hence the tests couldstill execute my own version.Fix this by forcing /usr/libexec to appear at the beginning of thepath when attempting to execute atf-sh.To make upgrading easy (and to avoid an unnecessary entry in UPDATING),make integration_test depend on the Makefile so that a rebuild of theshell script is triggered. This requires a hack in the *.test.mk filesto ensure the Makefile is not treated as a source to the generatedprogram. Ugly, I know, but I don't have a better way of doing this atthe moment. Will think of one once I address the TODO in the *.test.mkfiles that suggests generalizing the file generation functionality.PR: 191052Reviewed by: Garrett Cooper
Move atf-sh from /usr/bin/ to /usr/libexec/In r266650, we made libatf-c and libatf-c++ private libraries so that nocomponents outside of the source tree could unintendedly depend on them.This ch
Move atf-sh from /usr/bin/ to /usr/libexec/In r266650, we made libatf-c and libatf-c++ private libraries so that nocomponents outside of the source tree could unintendedly depend on them.This change does the same for the "atf-sh library" by moving the atf-shinterpreter from its public location in /usr/bin/ to the private locationin /usr/libexec/. Our build system will ensure that our own test programsuse the right binary, but users won't be able to depend on atf-sh by"mistake".Committing this now to ride the UPDATING notice added with r267172 today.