Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.4 / (download) - annotate - [select for diffs], Sat May 7 21:24:52 2022 UTC (8 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
HEAD
Changes since 1.3: +5 -2
lines
Diff to previous 1.3 (colored)
tests/make: document why deptgt-posix needs its own directory As described in PR toolchain/15163, '.include <file>' first looks in the current directory, using the system include path only as fallback.
Revision 1.3 / (download) - annotate - [select for diffs], Sat May 7 12:40:40 2022 UTC (8 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.2: +14 -10
lines
Diff to previous 1.2 (colored)
tests/make: clean up comments in test for .POSIX
Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 18 15:59:39 2022 UTC (9 months, 1 week ago) by sjg
Branch: MAIN
Changes since 1.1: +7 -7
lines
Diff to previous 1.1 (colored)
Never 'rm -rf ${TMPDIR}' when you cannot be sure what it is Use a safer variable for a subdir of ${TMPDIR} that we know we can remove safely.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 18 15:06:28 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
make: only switch to POSIX mode if '.POSIX:' is the first line https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html says that in order to make a makefile POSIX-conforming, its first non-comment line must be the special dependency line '.POSIX:' without any source dependencies. Previously, make switched to POSIX mode even if such a line occurred anywhere else, which was allowed by POSIX but was deep in the "unspecified behavior" area. For NetBSD make, there is no big difference since it doesn't ship any <posix.mk> file, this change mainly affects the bmake distribution. Previously, makefiles that contain '.POSIX:' somewhere in the middle could fail due to <posix.mk> resetting .SUFFIXES, among other things. Suggested by Simon J. Gerraty, who also reviewed an earlier version of this change.