diff options
Diffstat (limited to 'testsuite/make.tests')
-rwxr-xr-x | testsuite/make.tests | 11 |
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" \ | |||
31 | target: source | 31 | target: source |
32 | ' | 32 | ' |
33 | 33 | ||
34 | mkdir make.tempdir && cd make.tempdir || exit 1 | ||
35 | touch target.xyz | ||
36 | testing "make empty command overrides inference rule" \ | ||
37 | "make -f - target 2>/dev/null" "" "" ' | ||
38 | .SUFFIXES: .xyz | ||
39 | .xyz: | ||
40 | @echo xyz | ||
41 | target: ; | ||
42 | ' | ||
43 | cd .. || 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. |
36 | testing "make macro expansion and suffix substitution" \ | 47 | testing "make macro expansion and suffix substitution" \ |