History log of /freebsd-head/usr.bin/bmake/tests/syntax/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
92100036c841e961994633b0de4fdbc3c8217fb7 04-May-2016 ngie <ngie@FreeBSD.org> Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed
after r298107

Summary 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 examples
so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of
replacing FILES. share/mk/bsd.README didn't seem like the appropriate method
of communicating that info.

MFC after: never probably
X-MFC with: r298107
PR: 209114
Relnotes: yes
Tested with: buildworld, installworld, checkworld; buildworld, packageworld
Sponsored by: EMC / Isilon Storage Division
akefile
irective-t0/Makefile
nl/Makefile
unny-targets/Makefile
emi/Makefile
1c7e318a9a31cae130bd5b2de01d93e7800f66ff 10-Mar-2016 gjb <gjb@FreeBSD.org> MFH

Sponsored by: The FreeBSD Foundation
aab40fdc3dd7956f91ad07b7f4503747162b3587 09-Mar-2016 bdrewery <bdrewery@FreeBSD.org> DIRDEPS_BUILD: Connect MK_TESTS.

Sponsored by: EMC / Isilon Storage Division
akefile.depend
irective-t0/Makefile.depend
nl/Makefile.depend
unny-targets/Makefile.depend
emi/Makefile.depend
811267757ad9cbb2d6782e164efc2b47adfcd187 03-Feb-2016 gjb <gjb@FreeBSD.org> More 'tests' package fixes.

Sponsored by: The FreeBSD Foundation
irective-t0/Makefile
nl/Makefile
unny-targets/Makefile
emi/Makefile
a6998ad84f9722c560a80302a74fa495e818a153 02-Feb-2016 gjb <gjb@FreeBSD.org> First pass to fix the 'tests' packages.

Sponsored by: The FreeBSD Foundation
akefile
eb66ec28f96e2ecf82b79faefe5014b0aee0a5c4 14-May-2014 jmmv <jmmv@FreeBSD.org> Move old fmake tests into bmake and hook them to the build.

This first step is mostly to prevent the code from rotting even further
and to ensure these do not get wiped when fmake's code is removed from
the tree.

These tests are currently being skipped because they detect the underlying
make is not fmake and thus disable themselves -- and the reason is that
some of the tests fail, possibly due to legitimate bugs. Enabling them to
run against bmake will come separately.

Lastly, it would be ideal if these tests were fed upstream but they are
not ready for that yet. In the interim, just put them under usr.bin/bmake/
while we sort things out. The existence of a different unit-tests directory
within here makes me feel less guilty about this.

Change confirmed working with a clean amd64 build.
akefile
irective-t0/Makefile
irective-t0/Makefile.test
irective-t0/expected.status.1
irective-t0/expected.stderr.1
irective-t0/expected.stdout.1
irective-t0/legacy_test.sh
nl/Makefile
nl/Makefile.test
nl/expected.status.1
nl/expected.status.2
nl/expected.status.3
nl/expected.status.4
nl/expected.status.5
nl/expected.stderr.1
nl/expected.stderr.2
nl/expected.stderr.3
nl/expected.stderr.4
nl/expected.stderr.5
nl/expected.stdout.1
nl/expected.stdout.2
nl/expected.stdout.3
nl/expected.stdout.4
nl/expected.stdout.5
nl/legacy_test.sh
unny-targets/Makefile
unny-targets/Makefile.test
unny-targets/expected.status.1
unny-targets/expected.status.2
unny-targets/expected.stderr.1
unny-targets/expected.stderr.2
unny-targets/expected.stdout.1
unny-targets/expected.stdout.2
unny-targets/legacy_test.sh
emi/Makefile
emi/Makefile.test
emi/expected.status.1
emi/expected.status.2
emi/expected.stderr.1
emi/expected.stderr.2
emi/expected.stdout.1
emi/expected.stdout.2
emi/legacy_test.sh