| History log of /src/usr.bin/make/unit-tests/cond-func.mk |
| Revision | | Date | Author | Comments |
| 1.19 |
| 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.18 |
| 07-Aug-2024 |
rillig | make: in erroneous conditions, report the non-expanded text
In a condition, when a function call expression is missing its closing parenthesis, there's no point in having the expanded argument text in the error message.
When parsing a bare word in a condition, the trailing space was included in that word, which was inconsistent, as the leading space was not included either. Removing the trailing space from the word reduces the cases where a multiple-inclusion guard steps in, but only in an edge case that is irrelevant in practice.
|
| 1.17 |
| 07-Aug-2024 |
rillig | tests/make: demonstrate unintended parsing of words in conditions
A word is not supposed to include its trailing space, as it doesn't contain its leading space either.
|
| 1.16 |
| 06-Aug-2024 |
rillig | make: add details to error messages about missing ')'
|
| 1.15 |
| 06-Jul-2024 |
rillig | make: error out on conditions containing the operators '&' and '|'
These abbreviated variants of the '&&' and '||' operators were never documented, so error out in non-lint mode as well.
|
| 1.14 |
| 19-Nov-2023 |
rillig | branches: 1.14.2; tests/make: replace 'variable expression' with 'expression'
Each expression is based on a variable, there's no need for the verbosity. The wording in make's diagnostics will be changed in a follow-up commit.
|
| 1.13 |
| 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.12 |
| 10-May-2023 |
rillig | tests/make: clean up comments in tests
|
| 1.11 |
| 07-Jan-2022 |
rillig | tests/make: fix documentation in cond-func.mk
|
| 1.10 |
| 28-Dec-2021 |
rillig | tests/make: test function names without following '('
|
| 1.9 |
| 15-Nov-2020 |
rillig | make(1): clean up some tests
Fix some mistakes in comments.
Improve some comments to be easier understandable.
Inline variables that are irrelevant for the test at hand (RUN, MAKE_CMD).
Remove references to functions and constants that have since been removed or renamed.
|
| 1.8 |
| 10-Nov-2020 |
rillig | make(1): add tests for parsing conditionals, document a parsing bug
|
| 1.7 |
| 10-Nov-2020 |
rillig | make(1): add tests for edge cases in parsing conditionals
|
| 1.6 |
| 08-Nov-2020 |
rillig | make(1): add test for function argument with unbalanced braces
|
| 1.5 |
| 08-Nov-2020 |
rillig | make(1): document what the directive ".if A&B" means
|
| 1.4 |
| 24-Oct-2020 |
rillig | make(1): indent directives like .info, .if, .for consistently
Done by "pkglint -F *.mk", no manual corrections.
|
| 1.3 |
| 27-Sep-2020 |
rillig | make(1): normalize whitespace in source code
There is no more space tab. Either only tabs or only spaces or tabs followed by spaces, but not spaces followed by tabs.
|
| 1.2 |
| 23-Sep-2020 |
rillig | make(1): add tests for spaces in condition functions
|
| 1.1 |
| 20-Aug-2020 |
rillig | make(1): add test for parsing functions in .if conditions
|
| 1.14.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|