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 Ensure make gets -r



details:   https://anonhg.NetBSD.org/src/rev/6de0a03c4780
branches:  trunk
changeset: 359677:6de0a03c4780
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sun Jan 16 18:16:06 2022 +0000

description:
Ensure make gets -r

Apart from ensuring no influence from /usr/share/mk
when bmake is built for the first time on a non-BSD
system, sys.mk will not be found

diffstat:

 usr.bin/make/unit-tests/varname-makeflags.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 98332540855a -r 6de0a03c4780 usr.bin/make/unit-tests/varname-makeflags.mk
--- a/usr.bin/make/unit-tests/varname-makeflags.mk      Sun Jan 16 10:52:18 2022 +0000
+++ b/usr.bin/make/unit-tests/varname-makeflags.mk      Sun Jan 16 18:16:06 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varname-makeflags.mk,v 1.4 2021/12/27 20:17:35 rillig Exp $
+# $NetBSD: varname-makeflags.mk,v 1.5 2022/01/16 18:16:06 sjg Exp $
 #
 # Tests for the special MAKEFLAGS variable, which is basically just a normal
 # environment variable.  It is closely related to .MAKEFLAGS but captures the
@@ -35,8 +35,8 @@
 # variable MAKEFLAGS, it is no longer split.  In this example, the word
 # "d0ikrs" is treated as a target, but the option '-v' prevents any targets
 # from being built.
-OUTPUT!=       env MAKEFLAGS=d0ikrs ${MAKE} -f /dev/null -v .MAKEFLAGS
-.if ${OUTPUT} != " -V .MAKEFLAGS"
+OUTPUT!=       env MAKEFLAGS=d0ikrs ${MAKE} -r -f /dev/null -v .MAKEFLAGS
+.if ${OUTPUT} != " -r -V .MAKEFLAGS"
 .  error ${OUTPUT}
 .endif
 



Home | Main Index | Thread Index | Old Index