mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Check to see if make(1)'s handling of doubly-defined targets is busted or
not. A lot relies on this.
This commit is contained in:
parent
533e28dbe1
commit
6d3ca9de2c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95167
@ -14,6 +14,17 @@ all:
|
||||
@echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \
|
||||
diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure
|
||||
@echo "Test variables detected no regression, output matches."
|
||||
@echo "Running test targets"
|
||||
@${MAKE} double || ${MAKE} failure
|
||||
@echo "Test targets detected no regression."
|
||||
|
||||
# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the
|
||||
# ``right'' one.
|
||||
double:
|
||||
@true
|
||||
|
||||
double:
|
||||
@false
|
||||
|
||||
failure:
|
||||
@echo "Test failed: regression detected. See above."
|
||||
|
@ -14,6 +14,17 @@ all:
|
||||
@echo 1:${DATA1} 2:${DATA2} 3:${DATA3} 4:${DATA4} 5:${DATA5} | \
|
||||
diff -u ${.CURDIR}/regress.variables.out - || ${MAKE} failure
|
||||
@echo "Test variables detected no regression, output matches."
|
||||
@echo "Running test targets"
|
||||
@${MAKE} double || ${MAKE} failure
|
||||
@echo "Test targets detected no regression."
|
||||
|
||||
# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the
|
||||
# ``right'' one.
|
||||
double:
|
||||
@true
|
||||
|
||||
double:
|
||||
@false
|
||||
|
||||
failure:
|
||||
@echo "Test failed: regression detected. See above."
|
||||
|
Loading…
Reference in New Issue
Block a user