|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| #
1.9 |
|
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.8 |
|
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.
|
|
Revision tags: perseant-exfatfs-base-20240630 perseant-exfatfs-base
|
| #
1.7 |
|
04-Mar-2023 |
rillig |
branches: 1.7.2; tests/make: test very small and very large numbers in conditions
|
|
Revision tags: netbsd-10-1-RELEASE netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base
|
| #
1.6 |
|
04-Sep-2022 |
rillig |
make: add more details to error message for numeric comparison
Before: String comparison operator must be either == or !=
After: Comparison with '>=' requires both operands 'no' and '10' to be numeric
Noticed by martin@ in pkgsrc/textproc/py-pygments.
|
| #
1.5 |
|
29-Jul-2021 |
rillig |
tests/make: test spaces around numbers in comparisons
Just to see whether it is possible to write a conditional in the form ${ ${A} < ${B} :? ${A} : ${B} }, that is, with leading and trailing whitespace, to make it easier for humans to read the code.
It's not possible, the result of this computation cannot be used in further numeric comparisons, at least not in .if directives. Leading space would work, but trailing space wouldn't.
On the other hand, they would work in expressions of the form ${ ${A} < ${B} :? ... : ... } since in these, the condition is first expanded and then parsed. But that is an implementation detail that is not documented and it is also difficult to understand.
|
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
| #
1.4 |
|
08-Nov-2020 |
rillig |
make(1): add test for wrong comparison operator in conditional
|
| #
1.3 |
|
12-Sep-2020 |
rillig |
make(1): add test for Infinity and NaN
Neither is recognized by the make parser, which is good since the main task of make is dependency resolution and text processing, not calculating.
|
| #
1.2 |
|
16-Aug-2020 |
rillig |
make(1): describe the purpose of each newly added unit test dummy
|
| #
1.1 |
|
16-Aug-2020 |
rillig |
make(1): add dummies for fine-grained tests, one per single feature
The test names have been derived from the current manual page.
All these tests are dummies right now, and the code from the existing tests will be moved into the new tests step by step.
This is done to prevent modmisc, escape, varmod-edge and varmisc from growing without any bounds, and to reduce the side-effects of one test to the others.
|