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: use tabs instead of spac...
details: https://anonhg.NetBSD.org/src/rev/724e5f09cdcb
branches: trunk
changeset: 1029236:724e5f09cdcb
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Dec 28 10:47:00 2021 +0000
description:
tests/make: use tabs instead of spaces for indentation
diffstat:
usr.bin/make/unit-tests/var-op-expand.mk | 4 ++--
usr.bin/make/unit-tests/varmod-assign-shell.mk | 10 +++++-----
usr.bin/make/unit-tests/varquote.mk | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (60 lines):
diff -r 157432b9fdac -r 724e5f09cdcb usr.bin/make/unit-tests/var-op-expand.mk
--- a/usr.bin/make/unit-tests/var-op-expand.mk Tue Dec 28 09:19:02 2021 +0000
+++ b/usr.bin/make/unit-tests/var-op-expand.mk Tue Dec 28 10:47:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: var-op-expand.mk,v 1.15 2021/11/30 23:52:19 rillig Exp $
+# $NetBSD: var-op-expand.mk,v 1.16 2021/12/28 10:47:00 rillig Exp $
#
# Tests for the := variable assignment operator, which expands its
# right-hand side.
@@ -9,7 +9,7 @@
# Force the test results to be independent of the default value of this
# setting, which is 'yes' for NetBSD's usr.bin/make but 'no' for the bmake
# distribution and pkgsrc/devel/bmake.
-.MAKE.SAVE_DOLLARS:= yes
+.MAKE.SAVE_DOLLARS:= yes
# If the right-hand side does not contain a dollar sign, the ':=' assignment
# operator has the same effect as the '=' assignment operator.
diff -r 157432b9fdac -r 724e5f09cdcb usr.bin/make/unit-tests/varmod-assign-shell.mk
--- a/usr.bin/make/unit-tests/varmod-assign-shell.mk Tue Dec 28 09:19:02 2021 +0000
+++ b/usr.bin/make/unit-tests/varmod-assign-shell.mk Tue Dec 28 10:47:00 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varmod-assign-shell.mk,v 1.1 2021/12/28 00:56:17 rillig Exp $
+# $NetBSD: varmod-assign-shell.mk,v 1.2 2021/12/28 10:47:00 rillig Exp $
#
# Tests for the variable modifier '::!=', which assigns the output of a shell
# command to the variable, but only if the command exited successfully. This
@@ -21,11 +21,11 @@
# Having an error message instead of a warning like for the variable
# assignment operator '!=' is another unnecessary inconsistency.
-DIRECT= previous
-DIRECT!= echo output; false
+DIRECT= previous
+DIRECT!= echo output; false
-ASSIGNED= previous
-_:= ${ASSIGNED::!=echo output; false}
+ASSIGNED= previous
+_:= ${ASSIGNED::!=echo output; false}
all:
@echo DIRECT=${DIRECT:Q}
diff -r 157432b9fdac -r 724e5f09cdcb usr.bin/make/unit-tests/varquote.mk
--- a/usr.bin/make/unit-tests/varquote.mk Tue Dec 28 09:19:02 2021 +0000
+++ b/usr.bin/make/unit-tests/varquote.mk Tue Dec 28 10:47:00 2021 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: varquote.mk,v 1.4 2018/12/16 18:53:34 christos Exp $
+# $NetBSD: varquote.mk,v 1.5 2021/12/28 10:47:00 rillig Exp $
#
# Test VAR:q modifier
.if !defined(REPROFLAGS)
-REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
-REPROFLAGS+= -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
+REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
+REPROFLAGS+= -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
all:
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:S/\$/&&/g:Q}
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}
Home |
Main Index |
Thread Index |
Old Index