The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/varmod-assign-shell.exp

[BACK] Up to [] / src / usr.bin / make / unit-tests

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jun 1 20:56:35 2023 UTC (9 months ago) by rillig
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

tests/make: force line-based diagnostics to be listed in the tests

This way, contradictions between the intended output and the actual
output are closer together and have a better chance of being spotted.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 26 14:34:07 2022 UTC (23 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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.3 / (download) - annotate - [select for diffs], Mon Jan 10 20:32:29 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.2: +9 -0 lines
Diff to previous 1.2 (colored)

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.2 / (download) - annotate - [select for diffs], Sun Jan 9 18:22:31 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

tests/make: demonstrate inconsistencies in Cmd_Exec callers

The assignment 'VAR != cmd' generates a warning, the others generate an
error message.  That error message is ignored for backwards
compatibility though.

The assignment via the expression ${VAR::!=cmd} only uses the output of
the command if there was no error, the other places use the output

Revision 1.1 / (download) - annotate - [select for diffs], Tue Dec 28 00:56:17 2021 UTC (2 years, 2 months ago) by rillig
Branch: MAIN

tests/make: document inconsistencies between '!=' and '::!='

Found while trying to make the error messages from Cmd_Exec more

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>