Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/directive-export-gmake.mk
RevisionDateAuthorComments
 1.10  28-Jun-2025  rillig make: consistently use double quotes in error messages

Previously, some error messages used single quotes, very few used
backticks or parentheses, most already used double quotes.

While here, reword a few error messages to be clearer or more consistent
with related error messages.
 1.9  17-Dec-2023  rillig branches: 1.9.2;
tests/make: in 'expect' lines, require the complete text of the line
 1.8  19-Nov-2023  rillig tests/make: test and explain exporting of variables
 1.7  20-Aug-2023  rillig tests/make: show a difference between 'export' and '.export'
 1.6  19-Aug-2023  rillig make: show realistic invalid line in error message

Previously, the error message 'Invalid line' showed only the expanded
line, which might or might not show the actual problem. To be more
helpful, add the unexpanded line to the error message in case they
differ.

Remove the special handling of invalid lines that result from merge
conflicts. RCS is not commonly used anymore, and mentioning CVS was too
specific. By echoing the whole line, the patterns '<<<<<<' and '>>>>>>'
are clear enough to hint at the problem.
 1.5  19-Aug-2023  rillig make: add more details to error message about invalid lines
 1.4  19-Aug-2023  rillig tests/make: provide instructions for reproducing bug in gmtime

The test is not enabled because its results differ too much between the
platforms.
 1.3  17-Nov-2020  rillig make(1): fix test directive-export-gmake for dash

Dash only accepts environment variables whose names follow the usual
naming conventions. (I didn't look up the exact details.) In
particular, it rejects environment variables whose names start or end
with spaces.

This would result in an empty output from grep, in which case the exit
status from the shell command is non-zero, thus make prints an error
about this. This error message should not appear in the test output, to
keep the test output the same for all platforms.
 1.2  19-Oct-2020  rillig make(1): fix test directive-export-gmake.mk for dash
 1.1  02-Oct-2020  rillig make(1): add tests for parsing and exporting variables

Once again, there are a few surprises deeply hidden inside the edge
cases.
 1.9.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed