#
1.14 |
|
04-Jul-2024 |
rillig |
make: on error, print the targets to be made
This helps to understand situations with several nested sub-makes in varying directories.
|
#
1.13 |
|
04-Jul-2024 |
rillig |
make: add more context information to error messages
In case of a parse error or evaluation error, print the variable value in addition to the variable name, to see the effects of previous expression modifiers.
In nested make calls, print the current directory at the bottom of a stack trace, as that information is otherwise hard to get in a parallel build spanning multiple directories.
|
Revision tags: perseant-exfatfs-base-20240630
|
#
1.12 |
|
30-Jun-2024 |
rillig |
make: error out on some more syntax errors
Previously, these errors only produced a message on stderr. They only affected make's exit status when they were evaluated at parse time, but not when evaluating the commands for a specific target right before executing them.
The affected syntax errors are: * invalid regular expressions in the ':C' modifier * out-of-range references to regex groups in the ':C' modifier * unfinished modifiers
|
Revision tags: perseant-exfatfs-base
|
#
1.11 |
|
01-Jun-2024 |
rillig |
branches: 1.11.2; tests/make: test more modifiers and special variables
|
#
1.10 |
|
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.
|
Revision tags: 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 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.9 |
|
12-Apr-2021 |
rillig |
tests/make: fix test for modifier ':from=to'
I had forgotten to remove the single quotes, to produce a really empty word. Plus I had forgotten the modifier ':Q' for the result, which meant that the single quotes did not show up in the output.
|
#
1.8 |
|
12-Apr-2021 |
rillig |
tests/make: add table test for the modifier ':from=to'
Just to prevent any accidental change in the upcoming refactoring to reduce memory allocation in ApplyModifier_SysV.
|
#
1.7 |
|
23-Feb-2021 |
rillig |
make: add quotes around variable name in an error message
|
#
1.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.
|
Revision tags: perseant-exfatfs-base-20240630
|
#
1.12 |
|
30-Jun-2024 |
rillig |
make: error out on some more syntax errors
Previously, these errors only produced a message on stderr. They only affected make's exit status when they were evaluated at parse time, but not when evaluating the commands for a specific target right before executing them.
The affected syntax errors are: * invalid regular expressions in the ':C' modifier * out-of-range references to regex groups in the ':C' modifier * unfinished modifiers
|
Revision tags: perseant-exfatfs-base
|
#
1.11 |
|
01-Jun-2024 |
rillig |
branches: 1.11.2; tests/make: test more modifiers and special variables
|
#
1.10 |
|
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.
|
Revision tags: 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 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.9 |
|
12-Apr-2021 |
rillig |
tests/make: fix test for modifier ':from=to'
I had forgotten to remove the single quotes, to produce a really empty word. Plus I had forgotten the modifier ':Q' for the result, which meant that the single quotes did not show up in the output.
|
#
1.8 |
|
12-Apr-2021 |
rillig |
tests/make: add table test for the modifier ':from=to'
Just to prevent any accidental change in the upcoming refactoring to reduce memory allocation in ApplyModifier_SysV.
|
#
1.7 |
|
23-Feb-2021 |
rillig |
make: add quotes around variable name in an error message
|
#
1.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.11 |
|
01-Jun-2024 |
rillig |
tests/make: test more modifiers and special variables
|
#
1.10 |
|
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.
|
Revision tags: 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 cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.9 |
|
12-Apr-2021 |
rillig |
tests/make: fix test for modifier ':from=to'
I had forgotten to remove the single quotes, to produce a really empty word. Plus I had forgotten the modifier ':Q' for the result, which meant that the single quotes did not show up in the output.
|
#
1.8 |
|
12-Apr-2021 |
rillig |
tests/make: add table test for the modifier ':from=to'
Just to prevent any accidental change in the upcoming refactoring to reduce memory allocation in ApplyModifier_SysV.
|
#
1.7 |
|
23-Feb-2021 |
rillig |
make: add quotes around variable name in an error message
|
#
1.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.10 |
|
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.
|
Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.9 |
|
12-Apr-2021 |
rillig |
tests/make: fix test for modifier ':from=to'
I had forgotten to remove the single quotes, to produce a really empty word. Plus I had forgotten the modifier ':Q' for the result, which meant that the single quotes did not show up in the output.
|
#
1.8 |
|
12-Apr-2021 |
rillig |
tests/make: add table test for the modifier ':from=to'
Just to prevent any accidental change in the upcoming refactoring to reduce memory allocation in ApplyModifier_SysV.
|
#
1.7 |
|
23-Feb-2021 |
rillig |
make: add quotes around variable name in an error message
|
#
1.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.9 |
|
12-Apr-2021 |
rillig |
tests/make: fix test for modifier ':from=to'
I had forgotten to remove the single quotes, to produce a really empty word. Plus I had forgotten the modifier ':Q' for the result, which meant that the single quotes did not show up in the output.
|
#
1.8 |
|
12-Apr-2021 |
rillig |
tests/make: add table test for the modifier ':from=to'
Just to prevent any accidental change in the upcoming refactoring to reduce memory allocation in ApplyModifier_SysV.
|
#
1.7 |
|
23-Feb-2021 |
rillig |
make: add quotes around variable name in an error message
|
#
1.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.7 |
|
23-Feb-2021 |
rillig |
make: add quotes around variable name in an error message
|
#
1.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.6 |
|
05-Dec-2020 |
rillig |
make(1): improve explanation of tests for the SysV modifier
|
#
1.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.5 |
|
01-Nov-2020 |
rillig |
make(1): add another test case for the SysV modifier
The "special case" in ApplyModifier_SysV looks redundant since in SysVMatch, the empty word does not match anything.
|
#
1.4 |
|
01-Nov-2020 |
rillig |
make(1): add tests for parsing the SysV variable modifier
|
#
1.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.3 |
|
06-Oct-2020 |
rillig |
make(1): migrate SysV modifier test to use the preprocessor
When both the expected and the actual expression are written in the same line of the same file, it is easier to compare them and to document anything interesting. The exp file doesn't provide any space for comments or explanations.
|
#
1.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.2 |
|
23-Aug-2020 |
rillig |
make(1): move some of the SysV modifier tests into another file
|
#
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.
|