OpenGrok
Cross Reference: directive-for-lines.mk
xref
: /
src
/
usr.bin
/
make
/
unit-tests
/
directive-for-lines.mk
Home
|
History
|
Annotate
|
Download
|
only in
unit-tests
History log of
/src/usr.bin/make/unit-tests/directive-for-lines.mk
Revision
Date
Author
Comments
1.6
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.5
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.
1.4
08-May-2022
rillig
tests/make: migrate cond1 test to other, more specific tests
The tests in cond1 were a mixture of "everything related to conditions",
and the test cases were heavily dependent on each other, which made them
hard to understand. Move each test case to its corresponding
special-purpose test.
1.3
19-Dec-2020
rillig
make(1): add test for backslash continuation lines in .for loops
This ensures that the line numbers for messages are the expected onces
in .for loops.
While experimenting with the backslash continuation lines, I noticed
that the reported line numbers for these are based on the number of
completely parsed physical lines, which nicely cancels out the + 1 that
has to be added for producing human-readable 1-based line numbers. It
would be more correct to report the parse errors on the first affected
line.
1.2
19-Dec-2020
rillig
make(1): fix line numbers in .for loops (since 2007-01-01)
1.1
19-Dec-2020
rillig
make(1): demonstrate wrong line numbers in .for loops, since 2007-01-01
Indexes created Mon Oct 20 11:09:49 GMT 2025