History log of /src/usr.bin/make/unit-tests/cond-late.mk
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
# 1.10 30-Jun-2025 rillig

tests/make: force expected lines to be listed in execution order

The diagnostics from the program to check the "expect" lines in the unit
test files were hard to follow since the "out-of-order" lines were
confusing. For out-of-order lines, state where they should be placed
instead.


# 1.9 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.8 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.7 30-Jun-2024 rillig

make: error out on syntax error in conditions in ':?then:else' modifier

The 'Error' function only reports errors but does not affect the exit
status, the 'Parse_Error' function does, while providing more details to
find the cause of the syntax error.


Revision tags: perseant-exfatfs-base
# 1.6 10-Dec-2023 rillig

branches: 1.6.2;
make: remove redundant text from diagnostic about bad '?:' modifier


# 1.5 19-Nov-2023 rillig

tests/make: replace 'variable expression' with 'expression'

Each expression is based on a variable, there's no need for the
verbosity. The wording in make's diagnostics will be changed in a
follow-up commit.


# 1.4 10-May-2023 rillig

tests/make: clean up comments in tests


Revision tags: netbsd-10-1-RELEASE 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.3 15-Nov-2020 rillig

make(1): clean up some tests

Fix some mistakes in comments.

Improve some comments to be easier understandable.

Inline variables that are irrelevant for the test at hand (RUN,
MAKE_CMD).

Remove references to functions and constants that have since been removed
or renamed.


# 1.2 25-Jul-2020 rillig

make(1): add test for undefined (or empty) variable in :? modifier


# 1.1 29-Apr-2020 rillig

usr.bin/make: add test case for lazy conditions