OpenGrok
Cross Reference: counter-append.exp
xref
: /
src
/
usr.bin
/
make
/
unit-tests
/
counter-append.exp
Home
|
History
|
Annotate
|
Download
|
only in
unit-tests
History log of
/src/usr.bin/make/unit-tests/counter-append.exp
Revision
Date
Author
Comments
1.3
23-Sep-2020
rillig
make(1): remove debug output from counter tests
Now that the tests work as intended, the debug information is no longer
necessary. It was only intended to track down the cause of the
unexpected behavior.
1.2
23-Sep-2020
rillig
make(1): fix unexpected behavior in ::= variable modifier
Previously, the ::= modifier had returned an error value, which caused
the variable expression to be preserved. This behavior was not useful
in this case; it had only been intended to be used for undefined
variables.
To fix it, distinguish between parse errors, undefined variables and
regular empty strings.
1.1
23-Sep-2020
rillig
make(1): add variant of the counter test
I had expected that using the ::+= modifier instead of the ::= modifier
would work, since the assignment modifier for COUNTER no longer contains
a reference to itself. But instead of ending up at 4, the counter even
goes up to 6.
Indexes created Mon Oct 20 20:10:13 GMT 2025