CVS log for src/usr.bin/make/unit-tests/varmod-sun-shell.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.7: download - view: text, markup, annotated - select for diffs
Thu Aug 29 20:20:37 2024 UTC (3 months ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2
lines
make: reduce line length in error messages
The error messages for deeply nested parse errors were hard to decipher,
due to the large amount of text. Split these messages into individual
lines, just as in the backtrace for .include files and .for loops. This
unified backtrace makes the output more uniform.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 4 17:47:54 2024 UTC (4 months, 4 weeks ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2
lines
make: add more context information to error messages
In case of a parse error or evaluation error, print the variable value
in addition to the variable name, to see the effects of previous
expression modifiers.
In nested make calls, print the current directory at the bottom of a
stack trace, as that information is otherwise hard to get in a parallel
build spanning multiple directories.
Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 1 01:01:15 2024 UTC (5 months ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +8 -8
lines
Sync with HEAD.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 30 11:37:21 2024 UTC (5 months ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -8
lines
make: add detailed exit status to message for failed sub-commands
Several commands communicate via the exit status and not only
distinguish between zero and non-zero, so make this information
available to ease investigations.
The command "false" is not guaranteed to exit with a consistent status,
so use "(exit 13)" instead in the tests, to keep these tests portable
across different operating systems. The exit status 127 is required for
a shell that cannot find a command, so keep that one.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jun 30 11:00:06 2024 UTC (5 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
make: add more context to "returned non-zero status" message
Previously, this message was an "error" but had no influence on the exit
status, so make it a warning instead. In the seldom used -W mode that
treats warnings as errors, this change influences the exit status.
Revision 1.3: 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: perseant-exfatfs-base,
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
Branch point for: perseant-exfatfs
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +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.2: download - view: text, markup, annotated - select for diffs
Mon Jan 10 20:32:29 2022 UTC (2 years, 10 months ago) by rillig
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +11 -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.1: download - view: text, markup, annotated - select for diffs
Sun Feb 14 20:16:17 2021 UTC (3 years, 9 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
make: add test for the variable modifier ':sh'
CVSweb <webmaster@jp.NetBSD.org>