aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/make.tests11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index c512fbdaa..546dca7d5 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -504,6 +504,17 @@ target:
504 @false; echo OK 504 @false; echo OK
505' 505'
506 506
507# Macros and targets may be mixed on the command line
508testing "make allow mixed macros and targets" \
509 "make -f - FOO=foo foo BAR=bar bar" "foo\nbar\nfoo\nbar\n" "" '
510foo:
511 @echo $(FOO)
512 @echo $(BAR)
513bar:
514 @echo $(FOO)
515 @echo $(BAR)
516'
517
507# An empty original suffix indicates that every word should have 518# An empty original suffix indicates that every word should have
508# the new suffix added. If neither suffix is provided the words 519# the new suffix added. If neither suffix is provided the words
509# remain unchanged. 520# remain unchanged.