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 When sanitising test output, replace...



details:   https://anonhg.NetBSD.org/src/rev/1c11e124410f
branches:  trunk
changeset: 331716:1c11e124410f
user:      apb <apb%NetBSD.org@localhost>
date:      Thu Aug 21 12:42:03 2014 +0000

description:
When sanitising test output, replace "${TEST_MAKE}" with "make".
This string may appear in error messages that end up in the output.

diffstat:

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

diffs (17 lines):

diff -r 435ee9ecefce -r 1c11e124410f usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Thu Aug 21 12:25:01 2014 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Thu Aug 21 12:42:03 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2014/08/20 08:39:14 apb Exp $
+# $NetBSD: Makefile,v 1.40 2014/08/21 12:42:03 apb Exp $
 #
 # Unit tests for make(1)
 # The main targets are:
@@ -82,6 +82,7 @@
        @echo "${TEST_MAKE} -f ${MAKEFILE} > ${.TARGET}.out 2>&1"
        @cd ${.OBJDIR} && ${TEST_MAKE} -f ${MAKEFILE} 2>&1 | \
        ${TOOL_SED} -e 's,^${TEST_MAKE:T:C/\./\\\./g}[^:]*:,make:,' \
+       -e 's,${TEST_MAKE:C/\./\\\./g},make,' \
        -e '/stopped/s, /.*, unit-tests,' \
        -e 's,${.CURDIR:C/\./\\\./g}/,,g' \
        -e 's,${UNIT_TESTS:C/\./\\\./g}/,,g' > ${.TARGET}.out || { \



Home | Main Index | Thread Index | Old Index