History log of /src/usr.bin/make/unit-tests/directive-include.mk |
Revision | | Date | Author | Comments |
1.20 |
| 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.19 |
| 30-Mar-2025 |
rillig | make: use '"filename" line 123' for locations instead of 'filename:123'
The format 'filename:123' is commonly used for identifying a location in a file. Text editors recognize it and allow quick navigation through it. The previous format was specific to make and would have required custom support in editors.
The new format was already used in stack traces, except for the first line. Now all lines use the same format.
|
1.18 |
| 29-Mar-2025 |
rillig | make: add ":" to error message about unknown modifier
In the manual page, the modifiers are listed with a preceding ":", so use the same pattern in the error message. This removes an inconsistency between the error messages "Unknown modifier" and "Bad modifier".
|
1.17 |
| 11-Jan-2025 |
rillig | tests/make: force correct order of expected messages
|
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 |
| 05-Jul-2024 |
rillig | make: in error messages for anonymous variables, log the value
|
1.14 |
| 20-Apr-2024 |
rillig | make: provide more context information for parse/evaluate errors
|
1.13 |
| 19-Aug-2023 |
rillig | make: add more details to error message about invalid lines
|
1.12 |
| 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.11 |
| 15-Jan-2022 |
rillig | tests/make: ensure that the 'expect' comments in tests are correct
Based on tests/usr.bin/xlint/check-expect.lua.
For now, this extra check needs to be run manually.
|
1.10 |
| 07-Jan-2022 |
rillig | make: fix null pointer when including empty file (since 2022-01-01)
Calling malloc(0) may return a null pointer, but callers of bmake_malloc do not expect that.
Reported by Chris Pinnock, found by cross-compiling NetBSD on OpenBSD, where tools/groff creates Makefile.dep files of size 0.
|
1.9 |
| 14-Dec-2021 |
rillig | tests/make: disable test that behaves differently in ATF
|
1.8 |
| 14-Dec-2021 |
rillig | tests/make: test traditional include directive
|
1.7 |
| 03-Dec-2021 |
rillig | tests/make: demonstrate .include with erroneous expression
|
1.6 |
| 03-Dec-2021 |
rillig | tests/make: test .include with expressions
|
1.5 |
| 21-Nov-2020 |
rillig | make(1): add test for .include with trailing garbage in the line
|
1.4 |
| 03-Nov-2020 |
rillig | make(1): move tests from directives.mk to separate tests
|
1.3 |
| 31-Oct-2020 |
rillig | make(1): fix off-by-one bug in ParseTrackInput (since 2015-11-26)
|
1.2 |
| 31-Oct-2020 |
rillig | make(1): add test for off-by-one bug in ParseTrackInput
|
1.1 |
| 13-Sep-2020 |
rillig | make(1): add tests for the various .include directives
|