Module Name:    src
Committed By:   rillig
Date:           Fri Apr  7 05:54:16 UTC 2023

Modified Files:
        src/usr.bin/make/unit-tests: var-scope-cmdline.exp var-scope-cmdline.mk
            varcmd.mk

Log Message:
tests/make: add cross references to command line tests


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/var-scope-cmdline.exp \
    src/usr.bin/make/unit-tests/var-scope-cmdline.mk
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/varcmd.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/var-scope-cmdline.exp
diff -u src/usr.bin/make/unit-tests/var-scope-cmdline.exp:1.1 src/usr.bin/make/unit-tests/var-scope-cmdline.exp:1.2
--- src/usr.bin/make/unit-tests/var-scope-cmdline.exp:1.1	Sun Jan 23 16:25:54 2022
+++ src/usr.bin/make/unit-tests/var-scope-cmdline.exp	Fri Apr  7 05:54:16 2023
@@ -1,4 +1,4 @@
-make: "var-scope-cmdline.mk" line 67: global
-make: "var-scope-cmdline.mk" line 76: makeflags
+make: "var-scope-cmdline.mk" line 71: global
+make: "var-scope-cmdline.mk" line 80: makeflags
 makeflags
 exit status 0
Index: src/usr.bin/make/unit-tests/var-scope-cmdline.mk
diff -u src/usr.bin/make/unit-tests/var-scope-cmdline.mk:1.1 src/usr.bin/make/unit-tests/var-scope-cmdline.mk:1.2
--- src/usr.bin/make/unit-tests/var-scope-cmdline.mk:1.1	Sun Jan 23 16:25:54 2022
+++ src/usr.bin/make/unit-tests/var-scope-cmdline.mk	Fri Apr  7 05:54:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: var-scope-cmdline.mk,v 1.1 2022/01/23 16:25:54 rillig Exp $
+# $NetBSD: var-scope-cmdline.mk,v 1.2 2023/04/07 05:54:16 rillig Exp $
 #
 # Tests for variables specified on the command line.
 #
@@ -61,6 +61,10 @@
 # Most cmdline variables are set at the very beginning, when parsing the
 # command line arguments.  Using the special target '.MAKEFLAGS', it is
 # possible to set cmdline variables at any later time.
+#
+# See also:
+#	varcmd.mk
+#	varname-makeflags.mk
 
 # A normal global variable, without any cmdline variable nearby.
 VAR=	global

Index: src/usr.bin/make/unit-tests/varcmd.mk
diff -u src/usr.bin/make/unit-tests/varcmd.mk:1.6 src/usr.bin/make/unit-tests/varcmd.mk:1.7
--- src/usr.bin/make/unit-tests/varcmd.mk:1.6	Tue Feb 16 19:43:09 2021
+++ src/usr.bin/make/unit-tests/varcmd.mk	Fri Apr  7 05:54:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: varcmd.mk,v 1.6 2021/02/16 19:43:09 rillig Exp $
+# $NetBSD: varcmd.mk,v 1.7 2023/04/07 05:54:16 rillig Exp $
 #
 # Test behaviour of recursive make and vars set on command line.
 #
@@ -12,6 +12,10 @@
 # be rewritten to make it clear why there is a difference and why this is
 # actually intended.  Removing that large block of code makes only this test
 # and vardebug.mk fail, which is not enough.
+#
+# See also:
+#	var-scope-cmdline.mk
+#	varname-makeflags.mk
 
 FU=	fu
 FOO?=	foo

Reply via email to