| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-06-16 | tests/make: clean up tests for the ':M' and ':S' modifiers | rillig | |
| 2020-12-20 | make(1): move tests for indirect modifiers around | rillig | |
| The next commit will error out on unknown modifiers and influence the exit status. The test modmisc.mk contains both parse time tests and run time tests. To prevent the latter from being run, the parse error is moved to varmod-indirect.mk, which only contains parse time tests. | |||
| 2020-11-15 | make(1): update and add comments in tests | rillig | |
| As a result of the new comments, some line numbers have changed in the output of the tests. No other changes. | |||
| 2020-11-03 | make(1): clean up unit tests | rillig | |
| 2020-10-24 | make(1): use consistent indentation in variable assignments | rillig | |
| Initial work by "pkglint -F *.mk", manually adjusted in a few places. | |||
| 2020-10-24 | make(1): indent directives like .info, .if, .for consistently | rillig | |
| Done by "pkglint -F *.mk", no manual corrections. | |||
| 2020-10-24 | make(1): use consistent RCS Id in test files | rillig | |
| 2020-08-23 | make(1): move tests for the :tu and :_ modifiers into separate files | rillig | |
| 2020-08-23 | make(1): move tests for :hash :range :localtime into separate files | rillig | |
| 2020-08-23 | make(1): move tests for :H :E :R :T into separate files | rillig | |
| 2020-08-16 | make(1): move tests for the :gmtime and ::= modifiers to separate files | rillig | |
| 2020-08-16 | make(1): move tests for :S, :C, :@ from modmisc to their separate tests | rillig | |
| 2020-08-09 | make(1): add more tests for Cmd_Exec | rillig | |
| 2020-08-09 | make(1): add test for null byte in the output of a command | rillig | |
| 2020-08-09 | make(1): add test that demonstrates possible delimiters for :S | rillig | |
| 2020-08-09 | make(1): explain the mod-subst-dollar test | rillig | |
| 2020-08-09 | make(1): add another test case for mod-subst-dollar | rillig | |
| Having only 8 dollar signs does not prove anything. It might still be the result of 3 substitutions in a row. Having 5 substitutions in a row is less likely though. | |||
| 2020-08-08 | make(1): add test for the :gmtime modifier with indirect time | rillig | |
| 2020-08-08 | make(1): add test for unknown sub-modifier of the :S modifier | rillig | |
| 2020-08-07 | make(1): add tests for creative variable names in the :@ modifier | rillig | |
| 2020-08-03 | make(1): in lint mode, disallow dynamic variable names in :@ modifier | rillig | |
| This is an extremely obscure feature that hopefully nobody ever considered using. | |||
| 2020-08-01 | make(1): add test for empty indirect modifier | rillig | |
| 2020-08-01 | make(1): add tests for indirect modifiers | rillig | |
| 2020-07-31 | make(1): add test for chaining the :S modifier without colon | rillig | |
| 2020-07-29 | make(1): remove unnecessary assignments to st->next | rillig | |
| No change in the size of the resulting binary. Apparently GCC already knew these assignments were redundant. | |||
| 2020-07-29 | make(1): add unit tests for parse errors in modifiers | rillig | |
| 2020-07-27 | make(1): replace macros with functions | rillig | |
| Having the hidden parameter st->endc in the macro made it unnecessarily difficult to understand the code. | |||
| 2020-07-26 | make(1): add basic tests for the :S modifier | rillig | |
| 2020-07-26 | make(1): fix bug in :S modifier from 2020-07-19 | rillig | |
| 2020-07-26 | make(1): demonstrate bug in the :S modifier with the 1 modifier | rillig | |
| The bug has been introduced in var.c r1.268 on 2020-07-19. | |||
| 2020-07-26 | make(1): use consistent test names in modmisc.mk | rillig | |
| 2020-07-25 | make(1): add test for brk_string with more than 50 words | rillig | |
| 2020-07-23 | make(1): demonstrate wrong error message about missing delimiter | rillig | |
| The current practice of setting st->delim at the beginning of each modifier and resetting it again at the end produces too many error messages. In this case, there is no missing delimiter. | |||
| 2020-07-21 | make(1): add test for :S,,sep | rillig | |
| The empty string does not match anywhere. In other implementations of string replacement, an empty string matches at every position of the source string. This only works for the :S modifier. The :C modifier does not allow an empty search pattern. | |||
| 2020-07-21 | make(1): add test for :Q and .newline | rillig | |
| 2020-07-20 | make(1): add test for nested assignments | rillig | |
| This test demonstrates that in ApplyModifier_Assign, the call to ParseModifierPart must get its pflags. | |||
| 2020-07-20 | make(1): add test for :tu modifier with spaces | rillig | |
| 2020-07-19 | make(1): add tests for the ::= modifiers | rillig | |
| 2020-07-19 | make(1): add tests for maximum number of capturing groups in :C | rillig | |
| 2020-07-19 | make(1): demonstrate off-by-one bug in :C modifier | rillig | |
| 2020-07-19 | make(1): add test for stray dollar signs in :@ modifier | rillig | |
| 2020-07-04 | make(1): add tests for dollar characters in modifiers | rillig | |
| 2020-07-04 | make(1): expand the test for variable expansion in the :@ modifier | rillig | |
| 2020-07-04 | make(1): add debugging output for :@ modifier | rillig | |
| The inner working of the :@ modifier is quite tricky. To understand what really happens, it helps to look at each word as it is being modified. | |||
| 2020-07-04 | make(1): add test for an obscure edge case of using the :@ modifier | rillig | |
| 2020-07-04 | make(1): add tests for the :S and :C modifiers | rillig | |
| 2020-07-03 | make(1): clean up documentation, small refactorings for variables | rillig | |
| - document the callback for VarModify - clearly mark the callbacks - shorten the documentation for some callback functions - fix the documentation of VarSYSVMatch - remove unnecessary null check from VarLoopExpand - add test for applying modifiers to empty strings | |||
| 2020-07-03 | make(1): fix bug in :E modifier, introduced in r1.239 today | rillig | |
| That case was not covered by the tests before. | |||
| 2020-07-03 | make(1): add test for :R modifier | rillig | |
| 2020-07-03 | make(1): add more tests for :H, :T and :E modifiers | rillig | |
