aboutsummaryrefslogtreecommitdiff
path: root/testsuite/make.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/make.tests')
-rwxr-xr-xtestsuite/make.tests11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 2425ae99d..5485233f6 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -31,6 +31,17 @@ testing "make .DEFAULT rule for prerequisite" \
31target: source 31target: source
32' 32'
33 33
34mkdir make.tempdir && cd make.tempdir || exit 1
35touch target.xyz
36testing "make empty command overrides inference rule" \
37 "make -f - target 2>/dev/null" "" "" '
38.SUFFIXES: .xyz
39.xyz:
40 @echo xyz
41target: ;
42'
43cd .. || exit 1; rm -rf make.tempdir 2>/dev/null
44
34# Macros should be expanded before suffix substitution. The suffixes 45# Macros should be expanded before suffix substitution. The suffixes
35# can be obtained by macro expansion. 46# can be obtained by macro expansion.
36testing "make macro expansion and suffix substitution" \ 47testing "make macro expansion and suffix substitution" \