| History log of /src/usr.bin/make/unit-tests/varmod-hash.mk |
| Revision | | Date | Author | Comments |
| 1.6 |
| 20-Jul-2024 |
rillig | make: don't run erroneous commands in compat mode
When there is a parse or evaluation error in an expression that becomes part of the command, don't run that command, as the result of the failed evaluation typically contains garbage characters. Skip the remaining commands from that target as well, as they may depend on the erroneous command.
|
| 1.5 |
| 04-Sep-2020 |
rillig | make(1): add test for :hash returning ffffffff
In the previous brute force search, it seemed there was no string with that hash code. That was probably an oversight or a little programming mistake. Anyway, it's possible to get that hash value, so keep the example.
|
| 1.4 |
| 04-Sep-2020 |
rillig | make(1): extend tests for the :hash variable modifier
The previous test vectors didn't contain any hash with a leading zero. This could have been a simple programming mistake by using %8x instead of the intended %08x. Using snprintf wouldn't have been possible anyway since the hex digits are printed in little-endian order, but without reversing the bits of each digit. Kind of unusual, but doesn't affect the distribution of the hashes.
|
| 1.3 |
| 23-Aug-2020 |
rillig | make(1): move tests for :hash :range :localtime into separate files
|
| 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.
|