freebsd-dev/contrib/bmake/unit-tests
Simon J. Gerraty 49caa483b3 Merge bmake-20200517
Changes since 20181221 are mostly portability related
hence the large gap in versions imported.

There are however some bug fixes, and a rework of filemon handling.
In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace
and elimination of filemon(4) which has not had the TLC it needs.

FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c
allows use of that, with a bit less overhead than the ktrace model.

Summary of changes from ChangeLog

	o str.c: empty string does not match % pattern
	  plus unit-test changes
	o var.c: import handling of old sysV style modifier using '%'
	o str.c: refactor brk_string
	o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
	  a blank command is perfectly valid.
	o meta.c: meta_oodate, check for corrupted meta file
	  earlier and more often.
	* meta.c: meta_compat_parent check for USE_FILEMON
	  patch from Soeren Tempel
	o meta.c: fix compat mode, need to call meta_job_output()
	o job.c: extra fds for meta mode not needed if using filemon_dev
	o meta.c: avoid passing NULL to filemon_*() when meta_needed()
	  returns FALSE.
	o filemon/filemon_{dev,ktrace}.c: allow selection of
	  filemon implementation.  filemon_dev.c uses the kernel module
	  while filemon_ktrace.c leverages the fktrace api available in
	  NetBSD.  filemon_ktrace.c can hopefully form the basis for
	  adding support for other tracing mechanisms such as strace on
	  Linux.
	o meta.c: when target is out-of-date per normal make rules
	  record value of .OODATE in meta file.
	o parse.c: don't pass NULL to realpath(3)
	  some versions cannot handle it.
	o parse.c: ParseDoDependency: free paths rather than assert

plus more unit-tests
2020-05-20 22:25:46 +00:00
..
comment.exp
comment.mk
cond1.exp
cond1.mk
cond2.exp Merge bmake-20150505 improve detection of malformed conditionals. 2015-05-10 22:03:59 +00:00
cond2.mk Merge bmake-20151201 2015-12-08 01:29:07 +00:00
cond-late.exp Merge bmake-20200517 2020-05-20 22:25:46 +00:00
cond-late.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
dollar.exp Merge bmake-20200517 2020-05-20 22:25:46 +00:00
dollar.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
doterror.exp Merge bmake-20151201 2015-12-08 01:29:07 +00:00
doterror.mk
dotwait.exp Update to bmake-20171028 2017-11-02 20:08:00 +00:00
dotwait.mk Update to bmake-20171028 2017-11-02 20:08:00 +00:00
error.exp
error.mk
escape.exp
escape.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
export-all.exp
export-all.mk
export-env.exp Merge bmake-20160307 2016-03-11 01:35:39 +00:00
export-env.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
export.exp
export.mk
forloop.exp Merge bmake-20200517 2020-05-20 22:25:46 +00:00
forloop.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
forsubst.exp
forsubst.mk
hash.exp
hash.mk
impsrc.exp
impsrc.mk
include-main.exp Merge bmake-20200517 2020-05-20 22:25:46 +00:00
include-main.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
include-sub.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
include-subsub.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
Makefile Merge bmake-20200517 2020-05-20 22:25:46 +00:00
Makefile.config.in Merge bmake-20200517 2020-05-20 22:25:46 +00:00
misc.exp
misc.mk
moderrs.exp
moderrs.mk
modmatch.exp Str_Match: fix closure tests for [^] and add unit-test. 2017-04-21 22:19:13 +00:00
modmatch.mk Str_Match: fix closure tests for [^] and add unit-test. 2017-04-21 22:19:13 +00:00
modmisc.exp
modmisc.mk
modorder.exp
modorder.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
modts.exp Merge bmake-20160307 2016-03-11 01:35:39 +00:00
modts.mk Merge bmake-20160307 2016-03-11 01:35:39 +00:00
modword.exp
modword.mk
order.exp
order.mk
phony-end.exp
phony-end.mk
posix1.exp
posix1.mk
posix.exp
posix.mk
qequals.exp
qequals.mk
suffixes.exp
suffixes.mk
sunshcmd.exp
sunshcmd.mk
sysv.exp Merge bmake-20200517 2020-05-20 22:25:46 +00:00
sysv.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
ternary.exp
ternary.mk
unexport-env.exp
unexport-env.mk
unexport.exp
unexport.mk
varcmd.exp Update to bmake-201802222 2018-03-02 01:53:50 +00:00
varcmd.mk Update to bmake-201802222 2018-03-02 01:53:50 +00:00
varmisc.exp Merge bmake-20170301 2017-03-06 23:02:33 +00:00
varmisc.mk Merge bmake-20170301 2017-03-06 23:02:33 +00:00
varmod-edge.exp Merge bmake-20200517 2020-05-20 22:25:46 +00:00
varmod-edge.mk Merge bmake-20200517 2020-05-20 22:25:46 +00:00
varquote.exp Update bmake to version 20180919 2018-12-06 20:56:19 +00:00
varquote.mk Merge bmake-20181221 2018-12-23 01:05:52 +00:00
varshell.exp
varshell.mk