Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/parse.mk
RevisionDateAuthorComments
 1.8  28-Jun-2025  rillig make: consistently use double quotes in error messages

Previously, some error messages used single quotes, very few used
backticks or parentheses, most already used double quotes.

While here, reword a few error messages to be clearer or more consistent
with related error messages.
 1.7  19-Aug-2023  rillig make: show realistic invalid line in error message

Previously, the error message 'Invalid line' showed only the expanded
line, which might or might not show the actual problem. To be more
helpful, add the unexpanded line to the error message in case they
differ.

Remove the special handling of invalid lines that result from merge
conflicts. RCS is not commonly used anymore, and mentioning CVS was too
specific. By echoing the whole line, the patterns '<<<<<<' and '>>>>>>'
are clear enough to hint at the problem.
 1.6  19-Aug-2023  rillig make: add more details to error message about invalid lines
 1.5  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.4  28-Apr-2023  rillig tests/make: add tests for target-local variables

While here, move a test from var-scope-local.mk to parse.mk since that
test is not related to variables.
 1.3  24-Jul-2022  rillig make: fix out-of-bounds read when parsing an invalid line

Reported by Robert Morris in https://bugs.freebsd.org/265119.

Since 2021-12-14.
 1.2  22-Jan-2022  rillig tests/make: add a few more tests
 1.1  13-Dec-2021  rillig tests/make: extend tests for parsing makefiles

RSS XML Feed