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 *.rawout are out-of-date if ${TEST_M...



details:   https://anonhg.NetBSD.org/src/rev/c86cc01aecf3
branches:  trunk
changeset: 331896:c86cc01aecf3
user:      sjg <sjg%NetBSD.org@localhost>
date:      Fri Aug 29 20:03:27 2014 +0000

description:
*.rawout are out-of-date if ${TEST_MAKE} is newer.

diffstat:

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

diffs (18 lines):

diff -r 7d47c08686e0 -r c86cc01aecf3 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Fri Aug 29 17:39:18 2014 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Fri Aug 29 20:03:27 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2014/08/29 15:55:44 sjg Exp $
+# $NetBSD: Makefile,v 1.50 2014/08/29 20:03:27 sjg Exp $
 #
 # Unit tests for make(1)
 # The main targets are:
@@ -127,4 +127,8 @@
               cp $${test}.out ${UNIT_TESTS}/$${test}.exp ; } \
        done
 
+.if exists(${TEST_MAKE})
+${TESTNAMES:S/$/.rawout/}: ${TEST_MAKE}
+.endif
+
 .-include <bsd.obj.mk>



Home | Main Index | Thread Index | Old Index