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): remove postprocessing for t...



details:   https://anonhg.NetBSD.org/src/rev/0cbcf4e14fbc
branches:  trunk
changeset: 957138:0cbcf4e14fbc
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Nov 19 21:35:46 2020 +0000

description:
make(1): remove postprocessing for test directive-export-gmake

Since revision 1.3, directive-export-gmake.mk takes care of handling this
case.  Removing the "error" lines from the output of the tests only makes
the test harder to understand and may also hide future bugs.

diffstat:

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

diffs (19 lines):

diff -r d60123247e9c -r 0cbcf4e14fbc usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Thu Nov 19 21:27:29 2020 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Thu Nov 19 21:35:46 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.207 2020/11/18 04:10:34 sjg Exp $
+# $NetBSD: Makefile,v 1.208 2020/11/19 21:35:46 rillig Exp $
 #
 # Unit tests for make(1)
 #
@@ -433,9 +433,6 @@
 .for t in export-all export-env
 SED_CMDS.$t= ${SED_CMDS.export}
 .endfor
-SED_CMDS.directive-export-gmake= \
-       ${:D dash is a pain } \
-       -e /non-zero/d
 SED_CMDS.job-output-long-lines= \
        ${:D Job separators on their own line are ok. } \
        -e '/^--- job-[ab] ---$$/d' \



Home | Main Index | Thread Index | Old Index