aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/make.tests14
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index 3c2aa5cf5..745a840f3 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -102,6 +102,20 @@ a = a
102target:;@echo a = $(a) 102target:;@echo a = $(a)
103' 103'
104 104
105# When a build command fails and the '-k' option has been provided
106# (continue execution on error) no further commands should be executed
107# for the current target.
108testing "make failure of build command with -k" \
109 "make -k -f - 2>/dev/null" "OK\n" "" '
110all: bar baz
111bar:
112 @echo OK
113 @false
114 @echo Not reached
115baz:
116 @:
117'
118
105# A macro created using ::= remembers it's of type immediate-expansion. 119# A macro created using ::= remembers it's of type immediate-expansion.
106# Immediate expansion also occurs when += is used to append to such a macro. 120# Immediate expansion also occurs when += is used to append to such a macro.
107testing "make appending to immediate-expansion macro" \ 121testing "make appending to immediate-expansion macro" \