[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56301] Mandatory/Optional include files and pattern rule with mult
From: |
Dmitry Goncharov |
Subject: |
[bug #56301] Mandatory/Optional include files and pattern rule with multi-targets |
Date: |
Fri, 10 Apr 2020 16:59:41 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, bug #56301 (project make):
Here is a test.
diff --git a/tests/scripts/features/include b/tests/scripts/features/include
index 0c63c06..2281ee4 100644
--- a/tests/scripts/features/include
+++ b/tests/scripts/features/include
@@ -260,4 +260,13 @@ inc1:; @%s $@ && echo FOO := bar > $@
rmfiles('inc1');
}
+# Stop when cannot include a makefile.
+# https://savannah.gnu.org/bugs/?56301.
+run_make_test(q!
+all:; @echo hello
+include inc_a.mk
+-include inc_b.mk
+%_a.mk %_b.mk:; @false
+!, '', "#MAKE#: Failed to remake makefile 'inc_a.mk'.", 512);
+
1;
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56301>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/