1# $FreeBSD: head/tools/build/make_check/Makefile 95158 2002-04-20 20:57:00Z jmallett $
| 1# $FreeBSD: head/tools/build/make_check/Makefile 95167 2002-04-21 00:41:37Z jmallett $
|
2 3DATA1= helllo 4DATA2:= ${DATA1} 5DATA3= ${DATA2:S/ll/rr/g} 6DATA4:= ${DATA2:S/ll/rr/g} 7DATA2?= allo 8DATA5:= ${DATA2:S/ll/ii/g} ${DATA1:S/ll/rr/g} 9DATA2= yello 10DATA1:= ${DATA5:S/l/r/g} 11 12all: 13 @echo "Running test variables" 14 @echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \ 15 diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure 16 @echo "Test variables detected no regression, output matches."
| 2 3DATA1= helllo 4DATA2:= ${DATA1} 5DATA3= ${DATA2:S/ll/rr/g} 6DATA4:= ${DATA2:S/ll/rr/g} 7DATA2?= allo 8DATA5:= ${DATA2:S/ll/ii/g} ${DATA1:S/ll/rr/g} 9DATA2= yello 10DATA1:= ${DATA5:S/l/r/g} 11 12all: 13 @echo "Running test variables" 14 @echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \ 15 diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure 16 @echo "Test variables detected no regression, output matches."
|
| 17 @echo "Running test targets" 18 @${MAKE} double || ${MAKE} failure 19 @echo "Test targets detected no regression."
|
17
| 20
|
| 21# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the 22# ``right'' one. 23double: 24 @true 25 26double: 27 @false 28
|
18failure: 19 @echo "Test failed: regression detected. See above." 20 @false
| 29failure: 30 @echo "Test failed: regression detected. See above." 31 @false
|