#
1.13 |
|
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.12 |
|
22-Jul-2024 |
rillig |
make: fix exit status for error in .BEGIN/.END prerequisite
|
#
1.11 |
|
22-Jul-2024 |
rillig |
tests/make: demonstrate wrong exit status for .END dependency
|
#
1.10 |
|
20-Jul-2024 |
rillig |
make: don't run erroneous commands in parallel mode
|
#
1.9 |
|
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.8 |
|
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.7 |
|
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.6 |
|
05-Jul-2024 |
rillig |
tests/make: add expected messages for "Unclosed expression"
|
#
1.5 |
|
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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.12 |
|
22-Jul-2024 |
rillig |
make: fix exit status for error in .BEGIN/.END prerequisite
|
#
1.11 |
|
22-Jul-2024 |
rillig |
tests/make: demonstrate wrong exit status for .END dependency
|
#
1.10 |
|
20-Jul-2024 |
rillig |
make: don't run erroneous commands in parallel mode
|
#
1.9 |
|
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.8 |
|
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.7 |
|
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.6 |
|
05-Jul-2024 |
rillig |
tests/make: add expected messages for "Unclosed expression"
|
#
1.5 |
|
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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.10 |
|
20-Jul-2024 |
rillig |
make: don't run erroneous commands in parallel mode
|
#
1.9 |
|
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.8 |
|
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.7 |
|
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.6 |
|
05-Jul-2024 |
rillig |
tests/make: add expected messages for "Unclosed expression"
|
#
1.5 |
|
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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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 |
|
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.7 |
|
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.6 |
|
05-Jul-2024 |
rillig |
tests/make: add expected messages for "Unclosed expression"
|
#
1.5 |
|
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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.7 |
|
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.6 |
|
05-Jul-2024 |
rillig |
tests/make: add expected messages for "Unclosed expression"
|
#
1.5 |
|
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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.7 |
|
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.6 |
|
05-Jul-2024 |
rillig |
tests/make: add expected messages for "Unclosed expression"
|
#
1.5 |
|
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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.4 |
|
23-Apr-2024 |
rillig |
make: clean up comments, code and tests
|
#
1.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.3 |
|
20-Apr-2024 |
rillig |
make: provide more context information for parse/evaluate errors
|
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.2 |
|
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.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.2 |
|
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.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.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.
|