| History log of /src/usr.bin/make/unit-tests/varmod-unique.mk |
| Revision | | Date | Author | Comments |
| 1.6 |
| 05-Dec-2021 |
rillig | tests/make: replace ':U' with ':L' in test for ':u'
In expressions using ':L', the value of the variable is delimited by '{', which makes it easier to recognize it visually, as opposed to being delimited by 'U'.
|
| 1.5 |
| 30-May-2021 |
rillig | tests/make: test whitespace normalization for modifier ':u'
|
| 1.4 |
| 31-Aug-2020 |
rillig | branches: 1.4.2; make(1): fix the :u modifier, which was broken for almost a day
Big thanks go to sjg, who discovered the bug and did the main work to track it down.
In the unit tests for the :u modifier from the previous commit, I had forgotten to actually add the :u modifier at the end. I added it now and also added a few other tests. It's better to have a few more tests than too few.
|
| 1.3 |
| 31-Aug-2020 |
rillig | make(1): add test for the currently broken :u variable modifier
The :u modifier had been broken in var.c 1.479 from 2020.08.30.19.56.02. The code that implements the :u modifier was well-covered in the unit tests, except for the single line that actually deals with adjacent duplicate words.
The "refactoring" commit that replaced brk_string with Str_Words had not taken into account that the number of words (in ac) had to be passed to WordList_JoinFree. Instead, the number of words was always preserved, and the words at the end were therefore duplicated in the result.
The fix for this bug will be in the follow-up commit.
|
| 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.
|
| 1.4.2.1 |
| 31-May-2021 |
cjep | sync with head
|