Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/var-eval-short.mk
RevisionDateAuthorComments
 1.17  11-Jan-2025  rillig make: omit redundant follow-up message "Malformed conditional"

If there is a parse error or an evaluation error during the conditional,
the conditional is already mentioned in the "while evaluating condition"
line, so there's no reason to repeat it once again.

Same for the "Bad condition" message from the '?:' modifier.
 1.16  29-Aug-2024  rillig 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.
 1.15  06-Aug-2024  rillig make: in error message about conditionals, use single quotes

Single quotes are used less often in the conditionals themselves, which
leads to fewer confusions.
 1.14  05-Jul-2024  rillig make: in error messages, distinguish parsing from evaluating
 1.13  05-Jul-2024  rillig make: in error messages for anonymous variables, log the value
 1.12  20-Apr-2024  rillig make: provide more context information for parse/evaluate errors
 1.11  19-Oct-2023  rillig tests/make: clean up, explain and reorganize several tests
 1.10  01-Jun-2023  rillig tests/make: force line-based diagnostics to be listed in the tests

This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.
 1.9  09-May-2023  rillig make: allow ':gmtime' and ':localtime' with dynamic argument

This allows ${%Y:L:gmtime=${mtime}} instead of the indirect
${%Y:L:${:Ugmtime=${mtime}}}.

The direct form also prevents any ':' from the nested expression to be
interpreted as a separator, which doesn't matter for the ':gmtime' and
':localtime' modifiers but will prove useful for other modifiers that
follow the same pattern.
 1.8  27-Dec-2021  rillig make: clean up comments
 1.7  07-Sep-2021  rillig tests/make: expand on the history of unnecessary evaluation
 1.6  06-Sep-2021  rillig make: fix typos in comments
 1.5  04-Apr-2021  rillig make: disallow '$' in the variable name of the modifier ':@'

If this restriction should break any existing makefile, the author of
that makefile was probably heading for the IOMCC.
 1.4  14-Mar-2021  rillig tests/make: document today's bug fixes in the test
 1.3  14-Mar-2021  rillig make: do not return unevaluated 'else' part from the ':?' modifier

No functional change outside debug mode.
 1.2  14-Mar-2021  rillig tests/make: add test for the ':?' modifier in parse-only mode

The debug output for this scenario will change a bit in an upcoming
commit, but that will not affect anything outside the debug log.
 1.1  14-Mar-2021  rillig tests/make: add test for short-circuit evaluation of modifiers

RSS XML Feed