| Age | Commit message (Collapse) | Author |
|
|
|
While here, move a test from var-scope-local.mk to parse.mk since that
test is not related to variables.
|
|
Since trailing whitespace is invisible, describe the variable value in
words to make it visible.
|
|
Reusing the target var-scope-local.o for several tests made the test
more difficult to understand than necessary. The test names '2' and '3'
didn't convey any meaning.
Instead, add more test targets that are named after what they test. Add
tests for each of the 5 variable assignment operators, to demonstrate an
inconsistency between '+=' and '?='.
Add tests for the built-in target-local variables as well and explain
the general concepts, in particular the exact point where target-local
expressions are expanded.
The lines in the expected output file are not generated in the same
order as they appear in the makefile, so allow the 'expect' lines in
non-linear order, in check-expect.lua.
|
|
|
|
There is no such concept as a "variable class" in make, these tests
focus on the variable scope instead.
|