The NetBSD Project

CVS log for src/usr.bin/make/unit-tests/var-scope-local.exp

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

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 20 09:03:09 2023 UTC (2 months ago) by rillig
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

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.6 / (download) - annotate - [select for diffs], Sat Apr 29 10:16:24 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.5: +12 -2 lines
Diff to previous 1.5 (colored)

tests/make: extend test for target-local variables

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 28 13:09:48 2023 UTC (9 months, 3 weeks ago) by rillig
Branch: MAIN
Changes since 1.4: +42 -2 lines
Diff to previous 1.4 (colored)

tests/make: add tests for target-local variables

While here, move a test from to since that
test is not related to variables.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Mar 26 14:34:07 2022 UTC (22 months, 4 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Changes since 1.3: +1 -1 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], Sat Jan 29 00:52:53 2022 UTC (2 years ago) by rillig
Branch: MAIN
Changes since 1.2: +18 -7 lines
Diff to previous 1.2 (colored)

tests/make: extend and isolate tests for target-local variables

Reusing the target var-scope-local.o for several tests made the test
more difficult to understand than necessary.  The test names '2' and '3'
didn't convey any meaning.

Instead, add more test targets that are named after what they test.  Add
tests for each of the 5 variable assignment operators, to demonstrate an
inconsistency between '+=' and '?='.

Add tests for the built-in target-local variables as well and explain
the general concepts, in particular the exact point where target-local
expressions are expanded.

The lines in the expected output file are not generated in the same
order as they appear in the makefile, so allow the 'expect' lines in
non-linear order, in check-expect.lua.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 27 06:56:27 2022 UTC (2 years ago) by sjg
Branch: MAIN
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)

Unit test for local variables

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 23 16:25:54 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN

tests/make: rename var-class to var-scope

There is no such concept as a "variable class" in make, these tests
focus on the variable scope instead.

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 <>