diff options
Diffstat (limited to 'devel/bmake/files/unit-tests/Makefile.in')
-rw-r--r-- | devel/bmake/files/unit-tests/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/bmake/files/unit-tests/Makefile.in b/devel/bmake/files/unit-tests/Makefile.in index 2fbea9d21da..f11296b86c8 100644 --- a/devel/bmake/files/unit-tests/Makefile.in +++ b/devel/bmake/files/unit-tests/Makefile.in @@ -1,6 +1,6 @@ -# $Id: Makefile.in,v 1.1.1.7 2010/04/24 20:34:05 joerg Exp $ +# $Id: Makefile.in,v 1.1.1.8 2010/09/07 14:12:27 joerg Exp $ # -# $NetBSD: Makefile.in,v 1.1.1.7 2010/04/24 20:34:05 joerg Exp $ +# $NetBSD: Makefile.in,v 1.1.1.8 2010/09/07 14:12:27 joerg Exp $ # # Unit tests for make(1) # The main targets are: @@ -62,6 +62,8 @@ clean: TEST_MAKE?= ${.MAKE} TOOL_SED?= sed TOOL_TR?= tr +TOOL_DIFF?= diff +DIFF_FLAGS?= @diff_u@ # ensure consistent results from sort(1) LANG= C @@ -85,7 +87,7 @@ test: -e 's,${.CURDIR:C/\./\\\./g}/,,g' \ -e 's,${UNIT_TESTS:C/\./\\\./g}/,,g' > ${.TARGET}.out || { \ tail ${.TARGET}.out; mv ${.TARGET}.out ${.TARGET}.fail; exit 1; } - diff @diff_u@ ${UNIT_TESTS}/${.TARGET}.exp ${.TARGET}.out + ${TOOL_DIFF} ${DIFF_FLAGS} ${UNIT_TESTS}/${.TARGET}.exp ${.TARGET}.out accept: mv test.out ${srcdir}/test.exp |