aboutsummaryrefslogtreecommitdiff
path: root/testsuite/make.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/make.tests')
-rwxr-xr-xtestsuite/make.tests8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/make.tests b/testsuite/make.tests
index b53b4a2ea..60bb78406 100755
--- a/testsuite/make.tests
+++ b/testsuite/make.tests
@@ -86,6 +86,14 @@ test.k:
86' 86'
87cd .. || exit 1; rm -rf make.tempdir 2>/dev/null 87cd .. || exit 1; rm -rf make.tempdir 2>/dev/null
88 88
89# There was a bug where the failure of a build command didn't result
90# in make returning a non-zero exit status.
91testing "make return error if command fails" \
92 "make -f - >/dev/null 2>&1; echo \$?" "2\n" "" '
93target:
94 @exit 42
95'
96
89# A macro created using ::= remembers it's of type immediate-expansion. 97# A macro created using ::= remembers it's of type immediate-expansion.
90# Immediate expansion also occurs when += is used to append to such a macro. 98# Immediate expansion also occurs when += is used to append to such a macro.
91testing "make appending to immediate-expansion macro" \ 99testing "make appending to immediate-expansion macro" \