Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests tests/make: add cross references to ...



details:   https://anonhg.NetBSD.org/src/rev/82ae3b439cb8
branches:  trunk
changeset: 374171:82ae3b439cb8
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Apr 07 05:54:16 2023 +0000

description:
tests/make: add cross references to command line tests

diffstat:

 usr.bin/make/unit-tests/var-scope-cmdline.exp |  4 ++--
 usr.bin/make/unit-tests/var-scope-cmdline.mk  |  6 +++++-
 usr.bin/make/unit-tests/varcmd.mk             |  6 +++++-
 3 files changed, 12 insertions(+), 4 deletions(-)

diffs (50 lines):

diff -r 5b1e36f2d819 -r 82ae3b439cb8 usr.bin/make/unit-tests/var-scope-cmdline.exp
--- a/usr.bin/make/unit-tests/var-scope-cmdline.exp     Fri Apr 07 03:01:21 2023 +0000
+++ b/usr.bin/make/unit-tests/var-scope-cmdline.exp     Fri Apr 07 05:54:16 2023 +0000
@@ -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
diff -r 5b1e36f2d819 -r 82ae3b439cb8 usr.bin/make/unit-tests/var-scope-cmdline.mk
--- a/usr.bin/make/unit-tests/var-scope-cmdline.mk      Fri Apr 07 03:01:21 2023 +0000
+++ b/usr.bin/make/unit-tests/var-scope-cmdline.mk      Fri Apr 07 05:54:16 2023 +0000
@@ -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
diff -r 5b1e36f2d819 -r 82ae3b439cb8 usr.bin/make/unit-tests/varcmd.mk
--- a/usr.bin/make/unit-tests/varcmd.mk Fri Apr 07 03:01:21 2023 +0000
+++ b/usr.bin/make/unit-tests/varcmd.mk Fri Apr 07 05:54:16 2023 +0000
@@ -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



Home | Main Index | Thread Index | Old Index