History log of /netbsd-current/usr.bin/make/unit-tests/parse.exp
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.6 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.5 19-Aug-2023 rillig

make: add more details to error message about invalid lines


# 1.4 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.


Revision tags: netbsd-10-base
# 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


# 1.4 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.


Revision tags: netbsd-10-base
# 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


# 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


# 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


# 1.1 13-Dec-2021 rillig

tests/make: extend tests for parsing makefiles