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 Fix unit-tests to cope with recent c...



details:   https://anonhg.NetBSD.org/src/rev/03cd3af95cb8
branches:  trunk
changeset: 787954:03cd3af95cb8
user:      sjg <sjg%NetBSD.org@localhost>
date:      Tue Jul 16 19:59:28 2013 +0000

description:
Fix unit-tests to cope with recent change to progname

diffstat:

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

diffs (18 lines):

diff -r 5194f230486f -r 03cd3af95cb8 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Tue Jul 16 19:44:31 2013 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Tue Jul 16 19:59:28 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2013/03/22 16:36:46 sjg Exp $
+# $NetBSD: Makefile,v 1.37 2013/07/16 19:59:28 sjg Exp $
 #
 # Unit tests for make(1)
 # The main targets are:
@@ -79,7 +79,7 @@
 test:
        @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:,' \
+       ${TOOL_SED} -e 's,^${TEST_MAKE:T: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