Deleted Added
full compact
Makefile.in (246223) Makefile.in (249033)
1# $Id: Makefile.in,v 1.40 2012/12/28 21:28:19 sjg Exp $
1# $Id: Makefile.in,v 1.42 2013/03/23 02:31:13 sjg Exp $
2#
2#
3# $NetBSD: Makefile,v 1.35 2012/11/09 19:08:28 sjg Exp $
3# $NetBSD: Makefile,v 1.36 2013/03/22 16:36:46 sjg Exp $
4#
5# Unit tests for make(1)
6# The main targets are:
7#
8# all: run all the tests
9# test: run 'all', capture output and compare to expected results
10# accept: move generated output to expected results
11#

--- 11 unchanged lines hidden (view full) ---

23# Simple sub-makefiles - we run them as a black box
24# keep the list sorted.
25SUBFILES= \
26 comment \
27 cond1 \
28 error \
29 export \
30 export-all \
4#
5# Unit tests for make(1)
6# The main targets are:
7#
8# all: run all the tests
9# test: run 'all', capture output and compare to expected results
10# accept: move generated output to expected results
11#

--- 11 unchanged lines hidden (view full) ---

23# Simple sub-makefiles - we run them as a black box
24# keep the list sorted.
25SUBFILES= \
26 comment \
27 cond1 \
28 error \
29 export \
30 export-all \
31 export-env \
31 doterror \
32 dotwait \
33 forloop \
34 forsubst \
35 hash \
36 misc \
37 moderrs \
38 modmatch \

--- 28 unchanged lines hidden (view full) ---

67.-include <obj.mk>
68
69TEST_MAKE?= ${.MAKE}
70TOOL_SED?= sed
71TOOL_TR?= tr
72TOOL_DIFF?= diff
73DIFF_FLAGS?= @diff_u@
74
32 doterror \
33 dotwait \
34 forloop \
35 forsubst \
36 hash \
37 misc \
38 moderrs \
39 modmatch \

--- 28 unchanged lines hidden (view full) ---

68.-include <obj.mk>
69
70TEST_MAKE?= ${.MAKE}
71TOOL_SED?= sed
72TOOL_TR?= tr
73TOOL_DIFF?= diff
74DIFF_FLAGS?= @diff_u@
75
76.if defined(.PARSEDIR)
75# ensure consistent results from sort(1)
76LC_ALL= C
77LANG= C
78.export LANG LC_ALL
77# ensure consistent results from sort(1)
78LC_ALL= C
79LANG= C
80.export LANG LC_ALL
81.endif
79
80# The driver.
81# We always pretend .MAKE was called 'make'
82# and strip ${.CURDIR}/ from the output
83# and replace anything after 'stopped in' with unit-tests
84# so the results can be compared.
85test:
86 @echo "${TEST_MAKE} -f ${MAKEFILE} > ${.TARGET}.out 2>&1"

--- 12 unchanged lines hidden ---
82
83# The driver.
84# We always pretend .MAKE was called 'make'
85# and strip ${.CURDIR}/ from the output
86# and replace anything after 'stopped in' with unit-tests
87# so the results can be compared.
88test:
89 @echo "${TEST_MAKE} -f ${MAKEFILE} > ${.TARGET}.out 2>&1"

--- 12 unchanged lines hidden ---