The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/varname-empty.mk

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Nov 19 21:47:52 2023 UTC (12 months, 3 weeks ago) by rillig
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
tests/make: replace 'variable expression' with 'expression'

Each expression is based on a variable, there's no need for the
verbosity.  The wording in make's diagnostics will be changed in a
follow-up commit.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Apr 4 10:13:09 2021 UTC (3 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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
make: remove filler word 'Do' from function names for parsing

No functional change, except for debug logging.

Revision 1.8: 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.7: preferred, colored
Changes since revision 1.7: +8 -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.7: 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.6: preferred, colored
Changes since revision 1.6: +26 -9 lines
make(1): add tests for the variable named ""

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Sep 24 06:03:44 2020 UTC (4 years, 2 months ago) by rillig
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +21 -2 lines
make(1): extend documentation in the varname-empty test

Revision 1.5: 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.4: preferred, colored
Changes since revision 1.4: +4 -4 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.4: download - view: text, markup, annotated - select for diffs
Sat Aug 22 21:12:29 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
make(1): fix undefined behavior when assigning to variable ""

Using a programming language with built-in array bounds checks would
have prevented this bug, and many others as well.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 22 21:02:56 2020 UTC (4 years, 3 months ago) by rillig
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
make(1): try a bit harder to set the variable with the empty name

There is not only the != assignment operator, but a few others as well.
Especially the += operator is interesting since it has a different code
path.  But all is good.

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: +3 -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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>