CVS log for src/usr.bin/make/unit-tests/varmod-mtime.mk
Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Aug 29 20:20:36 2024 UTC (3 months ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +7 -7
lines
make: reduce line length in error messages
The error messages for deeply nested parse errors were hard to decipher,
due to the large amount of text. Split these messages into individual
lines, just as in the backtrace for .include files and .for loops. This
unified backtrace makes the output more uniform.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Aug 6 18:00:17 2024 UTC (3 months, 4 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6
lines
make: in error message about conditionals, use single quotes
Single quotes are used less often in the conditionals themselves, which
leads to fewer confusions.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jul 4 17:47:54 2024 UTC (5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +7 -7
lines
make: add more context information to error messages
In case of a parse error or evaluation error, print the variable value
in addition to the variable name, to see the effects of previous
expression modifiers.
In nested make calls, print the current directory at the bottom of a
stack trace, as that information is otherwise hard to get in a parallel
build spanning multiple directories.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Apr 20 10:18:55 2024 UTC (7 months, 2 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -7
lines
make: provide more context information for parse/evaluate errors
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Dec 17 14:07:22 2023 UTC (11 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -2
lines
tests/make: extend tests for include guards and empty expressions
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Nov 19 12:11:34 2023 UTC (12 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +28 -1
lines
tests/make: cover all code paths for the ':mtime' modifier
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Nov 19 11:47:49 2023 UTC (12 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
make: produce more accurate error message for invalid ':mtime' argument
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Nov 19 11:37:44 2023 UTC (12 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +11 -1
lines
tests/make: test non-integer fallback in ':mtime' modifier
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 19 08:19:25 2023 UTC (15 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2
lines
tests/make: document bug in ':gmtime' with '%s'
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 19 01:34:21 2023 UTC (15 months, 2 weeks ago) by sjg
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -2
lines
varmod-mtime.mk: use :localtime for %s
Add a comment to explain why ${%s:L:localtime} should be used to get
a value that matches time(3).
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 17 19:06:51 2023 UTC (15 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4
lines
make: be strict when parsing the argument of the ':mtime' modifier
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 17 18:48:32 2023 UTC (15 months, 2 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +67 -17
lines
tests/make: extend tests for the ':mtime' modifier
Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue May 9 20:14:27 2023 UTC (18 months, 3 weeks ago) by sjg
Branches: MAIN
make: add :mtime to provide mtime of file
The value of the variable is passed to stat(2)
and st_mtime is new value.
An optional arg can be used if stat(2) fails, otherwise
the current time is used.
See varmod-mtime.mk for usage examples.
CVSweb <webmaster@jp.NetBSD.org>