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 make(1): capture more output from te...



details:   https://anonhg.NetBSD.org/src/rev/b0c954948dc4
branches:  trunk
changeset: 957232:b0c954948dc4
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 21 21:41:27 2020 +0000

description:
make(1): capture more output from test deptgt-suffixes

This will have an effect with the next commit.

diffstat:

 usr.bin/make/unit-tests/Makefile |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r 2e0071b4e758 -r b0c954948dc4 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Sat Nov 21 21:27:09 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Sat Nov 21 21:41:27 2020 +0000
@@ -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,\[/[^] ]*\],[(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'
 



Home | Main Index | Thread Index | Old Index