CVS log for src/usr.bin/make/unit-tests/varname-empty.exp
Up to [cvs.NetBSD.org] / src / usr.bin / make / unit-tests
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Dec 20 09:03:09 2023 UTC (11 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +10 -10
lines
make: use consistent debug messages style when ignoring variables
When a variable is not modified or not deleted, clearly say so and state
the reason. Use the same style of debug messages everywhere, putting
the word 'ignoring' at the front. Previously, that word sticked out to
the right, but only in some cases.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Dec 20 08:50:10 2023 UTC (11 months, 3 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -2
lines
make: fix confusing debug logging when deleting a variable
Be clear when deleting a variable is ignored and state the reason,
instead of only providing a keyword as a hint for insiders.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Mar 26 14:34:07 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -1
lines
make: avoid trailing whitespace in debug log for variables
Since trailing whitespace is invisible, describe the variable value in
words to make it visible.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Mar 26 14:17:46 2022 UTC (2 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
make: add space after colon in debug logging for variables
These log messages are intended for human interpretation, so don't make
them unnecessarily hard to read.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Jan 10 20:32:29 2022 UTC (2 years, 11 months ago) by rillig
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -0
lines
make: add debug logging for capturing the output of external commands
This applies to all 4 situations in which the output of an external
command is used for modifying a variable or an expression:
* the assignment operator '!='
* the assignment modifier '::!='
* the SUN shell modifier ':sh'
* the other shell modifier ':!cmd!'
Previously, only the shell modifier ':!cmd!' had debug logging.
Suggested by Christoph Badura.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:59:26 2021 UTC (3 years, 1 month ago) by sjg
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +0 -4
lines
Replace ${.OBJDIR} with <curdir> for consistent results.
If we replace ${.OBJDIR} with <objdir> some tests produce
different results depending on the value of .OBJDIR
For similar reasons eliminate .OBJDIR and .PATH from output of
varname-empty
Reviewed by: rillig
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Apr 14 17:20:48 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -3
lines
make: remove unnecessary modifier ':U' for certain fixed expressions
No functional change, since the expression is evaluated using
VARE_WANTRES, not using VARE_UNDEFERR.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Apr 10 22:35:02 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -9
lines
make: reword debug log message for empty variable name
The function names did not match anymore, after one of the many
refactorings in the last few months.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Apr 10 22:09:54 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +0 -18
lines
make: reduce debug logging and memory allocation for ${:U...}
Expressions of the form ${:U...} are often generated by .for loops.
Since these expressions are not generated knowingly by the make user, do
not fill the debug log with them since that would interrupt the normal
reading flow of the -dv log for nested expressions.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Apr 5 13:35:41 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -10
lines
make: in debug log, add space between scope and variable name
Without this space, the debug log looked more like line noise, even
though the only punctuation was a single innocent ':'. From a make
user's perspective, the variable name is a word of its own and should
not be visually glued to its namespace.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Apr 5 13:14:55 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +7 -7
lines
make: be more verbose in -dv debug logging
The previous log output was too brief to be understandable. Give more
hints by describing each part of the expression when evaluating a
modifier. Distinguish between parse-only mode and eval mode since in
parse-only mode most of the details are irrelevant.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:02:59 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +14 -14
lines
make: remove VarFlags from debug logging
Before the introduction of ExprDefined, VarFlags contained whether the
expression was defined or not, which was useful to know since the final
value of the expression depends on this information. The other VarFlags
do not influence the evaluation, so there is no point logging them.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 15 15:39:13 2021 UTC (3 years, 8 months ago) by rillig
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +21 -21
lines
make: change debug log for variable evaluation flags to lowercase
This makes them easier distinguishable from variable names since the
latter are usually uppercase.
No functional change outside debug mode.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Feb 15 18:23:32 2021 UTC (3 years, 9 months ago) by rillig
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +14 -14
lines
make: rename ExprDefined constants for debug logging
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 4 00:16:03 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +0 -1
lines
make: remove .PARSEDIR from test output of varname-empty
The .PARSEDIR has nothing to do with .CURDIR. This wrong assumption
made the NetBSD test suite fail since the actual .PARSEDIR was not
replaced with "<curdir>".
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Feb 3 08:40:47 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +1 -1
lines
make: fix double expansion when appending to a new variable
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Feb 3 08:34:15 2021 UTC (3 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +36 -1
lines
make: in the test varname-empty, keep more debug output
Filtering out the interesting lines based on the very specific pattern
"Var_Set" was surprising.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Nov 15 20:50:46 2020 UTC (4 years ago) by rillig
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -1
lines
make(1): fix typo in test for variable with empty name
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 23 17:53:01 2020 UTC (4 years, 1 month ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -0
lines
make(1): add tests for the variable named ""
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 22 21:22:24 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -2
lines
make(1): try to set the variable named "" using the command line
Before 2020-08-22, the command line argument '=cmline-plain' triggered
undefined behavior, just like the assignment '=assigned' in the Makefile.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 22 20:31:50 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2
lines
make(1): prevent assignment to the variable with the empty name
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 22 20:23:14 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
make(1): add test for assigning to the variable named ""
This has been possible at least since 2013, probably much longer.
CVSweb <webmaster@jp.NetBSD.org>