Home | History | Annotate | Download | only in unit-tests
History log of /src/usr.bin/make/unit-tests/varname-make_print_var_on_error-jobs.mk
RevisionDateAuthorComments
 1.4  19-Nov-2023  rillig tests/make: replace 'variable expressions' with 'expressions'
 1.3  04-Feb-2021  rillig make: rename some VAR constants to SCOPE

The word "context" does not fit perfectly to the variables that are
associate with a GNode, as the context is usually something from the
outside and the variables are more like properties inherent to the
GNode.

The term "global context" fits even less. Since the thing where
variables are looked up is commonly named a scope, use that term
instead.

This commit only renames the global variables VAR_GLOBAL, VAR_INTERNAL
and VAR_CMDLINE, plus a few very closely related comments. These are:

GNode.vars (because of line breaks)
GNode_Free (dito)
varname-make_print_var_on_error.mk
varname-make_print_var_on_error-jobs.mk

The debug message in Var_Stats is left as-is since there is no unit test
for it yet.

The other renamings (variable names "context", "ctxt", as well as
further comments) will be done in a follow-up commit.
 1.2  13-Dec-2020  rillig make(1): add tests for variable expansion in .ERROR handling
 1.1  23-Oct-2020  rillig make(1): add test for .ERROR_CMD in jobs mode

RSS XML Feed