mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
Grrr, make the test for embedded variables in the left-hand-side actually do
the right thing in every case. Yuck.
This commit is contained in:
parent
5375be1861
commit
6d5fda5fd5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98461
@ -30,7 +30,7 @@ all:
|
||||
@${MAKE} sysvmatch || ${MAKE} failure
|
||||
@echo "PASS: Test sysvmatch detected no regression."
|
||||
@echo "Running test lhs_expn"
|
||||
@${MAKE} lhs_expn || ${MAKE} failure
|
||||
@! ${MAKE} lhs_expn && true || ${MAKE} failure
|
||||
@echo "PASS: Test lhs_expn detected no regression."
|
||||
|
||||
# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the
|
||||
@ -50,7 +50,7 @@ sysvmatch:
|
||||
# program has not errored out because of the recursion caused by not expanding
|
||||
# the left-hand-side's embedded variables above.
|
||||
lhs_expn:
|
||||
@false
|
||||
@true
|
||||
|
||||
failure:
|
||||
@echo "FAIL: Test failed: regression detected. See above."
|
||||
|
@ -30,7 +30,7 @@ all:
|
||||
@${MAKE} sysvmatch || ${MAKE} failure
|
||||
@echo "PASS: Test sysvmatch detected no regression."
|
||||
@echo "Running test lhs_expn"
|
||||
@${MAKE} lhs_expn || ${MAKE} failure
|
||||
@! ${MAKE} lhs_expn && true || ${MAKE} failure
|
||||
@echo "PASS: Test lhs_expn detected no regression."
|
||||
|
||||
# Doubly-defined targets. NetBSD make(1) will warn, ours will silently use the
|
||||
@ -50,7 +50,7 @@ sysvmatch:
|
||||
# program has not errored out because of the recursion caused by not expanding
|
||||
# the left-hand-side's embedded variables above.
|
||||
lhs_expn:
|
||||
@false
|
||||
@true
|
||||
|
||||
failure:
|
||||
@echo "FAIL: Test failed: regression detected. See above."
|
||||
|
Loading…
Reference in New Issue
Block a user