1
0
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:
Juli Mallett 2002-06-20 03:08:20 +00:00
parent 5375be1861
commit 6d5fda5fd5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98461
2 changed files with 4 additions and 4 deletions

View File

@ -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."

View File

@ -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."