diff options
Diffstat (limited to 'testsuite/make.tests')
-rwxr-xr-x | testsuite/make.tests | 8 |
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 | ' |
87 | cd .. || exit 1; rm -rf make.tempdir 2>/dev/null | 87 | cd .. || 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. | ||
91 | testing "make return error if command fails" \ | ||
92 | "make -f - >/dev/null 2>&1; echo \$?" "2\n" "" ' | ||
93 | target: | ||
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. |
91 | testing "make appending to immediate-expansion macro" \ | 99 | testing "make appending to immediate-expansion macro" \ |