#
1.14 |
|
29-Aug-2024 |
rillig |
make: reduce line length in error messages
The error messages for deeply nested parse errors were hard to decipher, due to the large amount of text. Split these messages into individual lines, just as in the backtrace for .include files and .for loops. This unified backtrace makes the output more uniform.
|
#
1.13 |
|
22-Jul-2024 |
rillig |
make: fix exit status for error in .BEGIN/.END prerequisite
|
#
1.12 |
|
22-Jul-2024 |
rillig |
tests/make: demonstrate wrong exit status for .END dependency
|
#
1.11 |
|
20-Jul-2024 |
rillig |
make: don't run erroneous commands in parallel mode
|
#
1.10 |
|
20-Jul-2024 |
rillig |
tests/make: demonstrate failing dependency in parallel mode
In parallel mode, when generating the commands for a target, parse or evaluation errors still continue generating and executing the commands. And if the commands succeed, the targets that depend on this target are still made.
|
#
1.9 |
|
09-Jul-2024 |
rillig |
make: error out on parse/evaluation errors in shell commands
The expression ${VAR:X} has an unknown modifier ':X'. Previously, this expression errored out when the expression was evaluated at parse time, but not when the expression was evaluated when generating the commands to bring a target up to date. The errors were previously reported, they didn't affect the exit status, though.
Now, errors in expressions are handled in the same way, regardless of the time at which they are evaluated.
|
#
1.8 |
|
05-Jul-2024 |
rillig |
make: error out on unclosed expressions during parse time
In exchange, this adds location information.
For unnamed expressions, the value is no longer printed. This will be added back in a follow-up commit.
|
#
1.7 |
|
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 perseant-exfatfs-base
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.13 |
|
22-Jul-2024 |
rillig |
make: fix exit status for error in .BEGIN/.END prerequisite
|
#
1.12 |
|
22-Jul-2024 |
rillig |
tests/make: demonstrate wrong exit status for .END dependency
|
#
1.11 |
|
20-Jul-2024 |
rillig |
make: don't run erroneous commands in parallel mode
|
#
1.10 |
|
20-Jul-2024 |
rillig |
tests/make: demonstrate failing dependency in parallel mode
In parallel mode, when generating the commands for a target, parse or evaluation errors still continue generating and executing the commands. And if the commands succeed, the targets that depend on this target are still made.
|
#
1.9 |
|
09-Jul-2024 |
rillig |
make: error out on parse/evaluation errors in shell commands
The expression ${VAR:X} has an unknown modifier ':X'. Previously, this expression errored out when the expression was evaluated at parse time, but not when the expression was evaluated when generating the commands to bring a target up to date. The errors were previously reported, they didn't affect the exit status, though.
Now, errors in expressions are handled in the same way, regardless of the time at which they are evaluated.
|
#
1.8 |
|
05-Jul-2024 |
rillig |
make: error out on unclosed expressions during parse time
In exchange, this adds location information.
For unnamed expressions, the value is no longer printed. This will be added back in a follow-up commit.
|
#
1.7 |
|
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 perseant-exfatfs-base
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.11 |
|
20-Jul-2024 |
rillig |
make: don't run erroneous commands in parallel mode
|
#
1.10 |
|
20-Jul-2024 |
rillig |
tests/make: demonstrate failing dependency in parallel mode
In parallel mode, when generating the commands for a target, parse or evaluation errors still continue generating and executing the commands. And if the commands succeed, the targets that depend on this target are still made.
|
#
1.9 |
|
09-Jul-2024 |
rillig |
make: error out on parse/evaluation errors in shell commands
The expression ${VAR:X} has an unknown modifier ':X'. Previously, this expression errored out when the expression was evaluated at parse time, but not when the expression was evaluated when generating the commands to bring a target up to date. The errors were previously reported, they didn't affect the exit status, though.
Now, errors in expressions are handled in the same way, regardless of the time at which they are evaluated.
|
#
1.8 |
|
05-Jul-2024 |
rillig |
make: error out on unclosed expressions during parse time
In exchange, this adds location information.
For unnamed expressions, the value is no longer printed. This will be added back in a follow-up commit.
|
#
1.7 |
|
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 perseant-exfatfs-base
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.9 |
|
09-Jul-2024 |
rillig |
make: error out on parse/evaluation errors in shell commands
The expression ${VAR:X} has an unknown modifier ':X'. Previously, this expression errored out when the expression was evaluated at parse time, but not when the expression was evaluated when generating the commands to bring a target up to date. The errors were previously reported, they didn't affect the exit status, though.
Now, errors in expressions are handled in the same way, regardless of the time at which they are evaluated.
|
#
1.8 |
|
05-Jul-2024 |
rillig |
make: error out on unclosed expressions during parse time
In exchange, this adds location information.
For unnamed expressions, the value is no longer printed. This will be added back in a follow-up commit.
|
#
1.7 |
|
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 perseant-exfatfs-base
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.8 |
|
05-Jul-2024 |
rillig |
make: error out on unclosed expressions during parse time
In exchange, this adds location information.
For unnamed expressions, the value is no longer printed. This will be added back in a follow-up commit.
|
#
1.7 |
|
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 perseant-exfatfs-base
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.8 |
|
05-Jul-2024 |
rillig |
make: error out on unclosed expressions during parse time
In exchange, this adds location information.
For unnamed expressions, the value is no longer printed. This will be added back in a follow-up commit.
|
#
1.7 |
|
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 perseant-exfatfs-base
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.6 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|
#
1.5 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
#
1.4 |
|
19-Nov-2023 |
rillig |
make: replace 'variable expression' with 'expression' in diagnostics
|
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
|
#
1.3 |
|
25-Sep-2022 |
rillig |
tests/make: reduce trailing whitespace
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.2 |
|
23-Feb-2021 |
rillig |
make: improve error message for unknown modifier
Back in 1995, the modifiers were all single-character, and it made sense to print only the first character. Nowadays, with ':S', ':@var@...@', '::=' and several others, a little more context is useful to see where the exact error is. The actual modifier is still guessed, and the guess may be wrong as soon as backslashes get involved, but it is still better than before.
|
#
1.1 |
|
27-Dec-2020 |
rillig |
make(1): add test for expansion errors in jobs mode
Since compat mode and jobs mode are implemented separately and vary in lots of small details, each of them needs to be tested on its own.
|