aboutsummaryrefslogtreecommitdiff
path: root/testsuite/make.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/make.tests')
-rwxr-xr-xtestsuite/make.tests12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 3d0d14dd0..67617f8a2 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -255,6 +255,18 @@ mk:
255-include mk 255-include mk
256' 256'
257 257
258# $^ skips duplicate prerequisites, $+ doesn't
259mkdir make.tempdir && cd make.tempdir || exit 1
260touch file1 file2 file3
261testing "make skip duplicate entries in \$^ but not \$+" \
262 "make -f -" \
263 "file1 file2 file3\nfile1 file2 file2 file3 file3\n" "" '
264target: file1 file2 file2 file3 file3
265 @echo $^
266 @echo $+
267'
268cd .. || exit 1; rm -rf make.tempdir 2>/dev/null
269
258# Nested macro expansion is allowed. This should be compatible 270# Nested macro expansion is allowed. This should be compatible
259# with other implementations. 271# with other implementations.
260testing "make nested macro expansion" \ 272testing "make nested macro expansion" \