Follow-up Comment #4, bug #56301 (project make): This test is the same as the one submitted earlier, but unlinks the included makefiles.
diff --git a/tests/scripts/features/include b/tests/scripts/features/include index 0c63c06..4401622 100644 --- a/tests/scripts/features/include +++ b/tests/scripts/features/include @@ -260,4 +260,15 @@ inc1:; @%s $@ && echo FOO := bar > $@ rmfiles('inc1'); } +# Stop when cannot include a makefile. +# https://savannah.gnu.org/bugs/?56301. +unlink('inc_a.mk'); +unlink('inc_b.mk'); +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/