Module Name: src
Committed By: rillig
Date: Sat Nov 21 21:41:27 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: Makefile
Log Message:
make(1): capture more output from test deptgt-suffixes
This will have an effect with the next commit.
To generate a diff of this commit:
cvs rdiff -u -r1.213 -r1.214 src/usr.bin/make/unit-tests/Makefile
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/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.213 src/usr.bin/make/unit-tests/Makefile:1.214
--- src/usr.bin/make/unit-tests/Makefile:1.213 Sat Nov 21 17:44:40 2020
+++ src/usr.bin/make/unit-tests/Makefile Sat Nov 21 21:41:27 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.213 2020/11/21 17:44:40 rillig Exp $
+# $NetBSD: Makefile,v 1.214 2020/11/21 21:41:27 rillig Exp $
#
# Unit tests for make(1)
#
@@ -472,8 +472,7 @@ SED_CMDS.varname-dot-shell+= -e 's,"/[^"
SED_CMDS.varname-dot-shell+= -e 's,\[/[^] ]*\],[(details omitted)],g'
# Some tests need an additional round of postprocessing.
-POSTPROC.deptgt-suffixes= \
- ${TOOL_SED} -n -e '/^\#\*\*\* Suffixes/,/^\#\*/p'
+POSTPROC.deptgt-suffixes= awk '/^\#\*\*\* Suffixes/,/^never-stop/'
POSTPROC.gnode-submake= awk '/Input graph/, /^$$/'
POSTPROC.varname-empty= ${TOOL_SED} -n -e '/^Var_Set/p' -e '/^out:/p'