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


Default branch: MAIN


Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 19 21:47:52 2023 UTC (4 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Sun Apr 4 10:13:09 2021 UTC (3 years ago) by rillig
Branch: 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
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

make: remove filler word 'Do' from function names for parsing

No functional change, except for debug logging.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Feb 3 08:34:15 2021 UTC (3 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.7: +8 -1 lines
Diff to previous 1.7 (colored)

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) - annotate - [select for diffs], Fri Oct 23 17:53:01 2020 UTC (3 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.6: +26 -9 lines
Diff to previous 1.6 (colored)

make(1): add tests for the variable named ""

Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 24 06:03:44 2020 UTC (3 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.5: +21 -2 lines
Diff to previous 1.5 (colored)

make(1): extend documentation in the varname-empty test

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 22 21:22:24 2020 UTC (3 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Sat Aug 22 21:12:29 2020 UTC (3 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Sat Aug 22 21:02:56 2020 UTC (3 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Sat Aug 22 20:31:50 2020 UTC (3 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

make(1): prevent assignment to the variable with the empty name

Revision 1.1 / (download) - annotate - [select for diffs], Sat Aug 22 20:23:14 2020 UTC (3 years, 7 months ago) by rillig
Branch: MAIN

make(1): add test for assigning to the variable named ""

This has been possible at least since 2013, probably much longer.

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 <webmaster@jp.NetBSD.org>