History log of /freebsd-head/usr.bin/yacc/tests/Makefile
Revision Date Author Comments
a4e482cc3fba1878936ba0507c55ad1be43ff19e 02-Feb-2017 jkim <jkim@FreeBSD.org> Update byacc regression tests to match 20170201.
00d578928eca75be320b36d37543a7e2a4f9fbdb 27-May-2016 grehan <grehan@FreeBSD.org> Create branch for bhyve graphics import.
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
ae6f20360349bac54d30fa9c9c20a2366905b725 03-Feb-2016 gjb <gjb@FreeBSD.org> More 'tests' packaging fixes.

Sponsored by: The FreeBSD Foundation
a6998ad84f9722c560a80302a74fa495e818a153 02-Feb-2016 gjb <gjb@FreeBSD.org> First pass to fix the 'tests' packages.

Sponsored by: The FreeBSD Foundation
dd1f61836762d6bb73b65e51a11b769b15667412 12-Oct-2015 ngie <ngie@FreeBSD.org> Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and
netbsd-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 clarity

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Divison
df47d8ed8d130fdd727500239952ab338bd6c6dc 06-Oct-2015 ngie <ngie@FreeBSD.org> ------------------------------------------------------------------------
r288932 | ngie | 2015-10-06 10:15:07 -0700 (Tue, 06 Oct 2015) | 9 lines

Refactor the test/ Makefiles per recent changes to bsd.test.mk and
netbsd-tests.test.mk

- Eliminate explicit SRCTOP setting
- Eliminate explicit OBJ
- Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk
- Remove unnecessary TESTSDIR setting
- Use SRCTOP where possible for clarity

------------------------------------------------------------------------
d55e00843a3d660bf081aabf50fab05ccbba1eec 03-Oct-2015 bdrewery <bdrewery@FreeBSD.org> MFC r288199,r288246:

Add missing CLEANFILES.
71fccfc30f5015ec76976721ce45908b185cd48a 24-Sep-2015 bdrewery <bdrewery@FreeBSD.org> Add missing CLEANFILES.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
538d05fbccfbf0f5f7049d9004214993f40a027c 11-Oct-2014 rodrigc <rodrigc@FreeBSD.org> Merge: r269884

Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division
6fdcea3e5ec6015066cc31dab08594efc167f31e 11-Oct-2014 rodrigc <rodrigc@FreeBSD.org> Merge: r268811

Update to byacc 20140715

PR: 191020
Submitted by: gcooper (yaneurabeya@gmail.com)
4e7dbdd0ba197b3e6bdb875a48e69b0816f1aa36 12-Aug-2014 ngie <ngie@FreeBSD.org> Complete the usr.bin/yacc kyua integration work I originally
submitted via r268811

- Install the Kyuafile by adding FILES to FILESGROUPS
- Run the testcases with an unprivileged user

Some of the testcases depend upon behavior that's broken when
run as root on FreeBSD because of how permissions are treated
with access(2) vs eaccess(2), open(2), etc

- Simplify the test driver to just inspect the exit code from
run_test because it now exits with 0 if successful and exits
with !0 if unsuccessful
- Don't do ad hoc temporary directory creation/deletion; let Kyua
handle that
- Add entries for files removed in r268811 to
OptionalObsoleteFiles.inc

PR: 191020
X-MFC with: r268811
Approved by: jmmv (mentor)
Reviewed by: bapt
Sponsored by: EMC / Isilon Storage Division
81a50b49975547aa8adaa07d421df03283867d5a 17-Jul-2014 bapt <bapt@FreeBSD.org> Update to byacc 20140715 (only concerns regression tests being fixed)
Directly use regression test from upstream

PR: 191020
Submitted by: gcooper (yaneurabeya@gmail.com)
1e4589b921fdaa1b1d2fc6b6ed016f1e0a01cb8f 27-Apr-2014 jmmv <jmmv@FreeBSD.org> MFC various moves of tools/regressions/ tests to the new infrastructure.

- r263220 Migrate tools/regression/sbin/ to the new tests layout.
- r263222 Add Makefile missed in r263220.
- r263226 Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
- r263227 Migrate most of tools/regression/usr.bin/ to the new tests layout.
- r263345 Expand tabs that sneaked in into spaces.
- r263346 Migrate tools/regression/usr.bin/make/ to the new tests layout.
- r263348 Add Makefiles missed in r263346.
- r263351 Migrate tools/regression/usr.bin/pkill/ to the new tests layout.
- r263388 Mark multi_test as requiring /usr/share/dict/words.
- r263814 Fix path to the run.pl script to let these tests run.
- r264742 Prevent building tests when bootstrapping make.

This is 'make tinderbox' clean.
41a8d8c29552ddd9098cfb09a71927f503a28371 16-Mar-2014 jmmv <jmmv@FreeBSD.org> Migrate most of tools/regression/usr.bin/ to the new tests layout.

I'm starting with the easy cases. The leftovers need to be looked at a
bit more closely.

Note that this change _does_ modify the code of the old tests. This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.

Also note that at least one test is known to be broken here. Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that. Will have to be
fixed separately.