summaryrefslogtreecommitdiff
path: root/tests/scripts/features/include
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/features/include')
-rw-r--r--tests/scripts/features/include18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/scripts/features/include b/tests/scripts/features/include
index f48cbd3..26ee1bd 100644
--- a/tests/scripts/features/include
+++ b/tests/scripts/features/include
@@ -78,6 +78,7 @@ hello: ; @echo hello
"hello\n"
);
+
# Test inheritance of dontcare flag when rebuilding makefiles.
#
run_make_test('
@@ -90,3 +91,20 @@ foo: bar; @:
', '', '');
1;
+
+
+# Make sure that we don't die when the command fails but we dontcare.
+# (Savannah bug #13216).
+#
+run_make_test('
+.PHONY: all
+all:; @:
+
+-include foo
+
+foo: bar; @:
+
+bar:; @false
+', '', '');
+
+1;