tests/make: use tabs instead of spaces for indentation
This commit is contained in:
parent
3aac9260bd
commit
aa6b5708e5
|
@ -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
|
# Tests for the := variable assignment operator, which expands its
|
||||||
# right-hand side.
|
# right-hand side.
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
# Force the test results to be independent of the default value of this
|
# 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
|
# setting, which is 'yes' for NetBSD's usr.bin/make but 'no' for the bmake
|
||||||
# distribution and pkgsrc/devel/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
|
# If the right-hand side does not contain a dollar sign, the ':=' assignment
|
||||||
# operator has the same effect as the '=' assignment operator.
|
# operator has the same effect as the '=' assignment operator.
|
||||||
|
|
|
@ -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
|
# Tests for the variable modifier '::!=', which assigns the output of a shell
|
||||||
# command to the variable, but only if the command exited successfully. This
|
# 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
|
# Having an error message instead of a warning like for the variable
|
||||||
# assignment operator '!=' is another unnecessary inconsistency.
|
# assignment operator '!=' is another unnecessary inconsistency.
|
||||||
|
|
||||||
DIRECT= previous
|
DIRECT= previous
|
||||||
DIRECT!= echo output; false
|
DIRECT!= echo output; false
|
||||||
|
|
||||||
ASSIGNED= previous
|
ASSIGNED= previous
|
||||||
_:= ${ASSIGNED::!=echo output; false}
|
_:= ${ASSIGNED::!=echo output; false}
|
||||||
|
|
||||||
all:
|
all:
|
||||||
@echo DIRECT=${DIRECT:Q}
|
@echo DIRECT=${DIRECT:Q}
|
||||||
|
|
|
@ -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
|
# Test VAR:q modifier
|
||||||
|
|
||||||
.if !defined(REPROFLAGS)
|
.if !defined(REPROFLAGS)
|
||||||
REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
|
REPROFLAGS+= -fdebug-prefix-map=\$$NETBSDSRCDIR=/usr/src
|
||||||
REPROFLAGS+= -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
|
REPROFLAGS+= -fdebug-regex-map='/usr/src/(.*)/obj$$=/usr/obj/\1'
|
||||||
all:
|
all:
|
||||||
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:S/\$/&&/g:Q}
|
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:S/\$/&&/g:Q}
|
||||||
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}
|
@${MAKE} -f ${MAKEFILE} REPROFLAGS=${REPROFLAGS:q}
|
||||||
|
|
Loading…
Reference in New Issue