From cb16418ed60c027ee7eccb31a8c43c1a7585aef2 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 13 Sep 2020 10:20:11 +0000 Subject: [PATCH] make(1): test another attempt at resuming from fatal errors --- usr.bin/make/unit-tests/directive-include-fatal.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/usr.bin/make/unit-tests/directive-include-fatal.mk b/usr.bin/make/unit-tests/directive-include-fatal.mk index e7e1140d0dbb..22b30ae909c2 100644 --- a/usr.bin/make/unit-tests/directive-include-fatal.mk +++ b/usr.bin/make/unit-tests/directive-include-fatal.mk @@ -1,4 +1,4 @@ -# $NetBSD: directive-include-fatal.mk,v 1.1 2020/09/13 09:20:23 rillig Exp $ +# $NetBSD: directive-include-fatal.mk,v 1.2 2020/09/13 10:20:11 rillig Exp $ # # Test for the .include directive combined with fatal errors. # @@ -17,5 +17,11 @@ # The exit status will be 1. .include "/dev/null" +# Adding another file to be included has no effect either. +# When the command line is parsed, the additional file is only enqueued +# in the global "makefiles" variable, but not immediately run through +# Parse_File. +.MAKEFLAGS: -f "/dev/null" + all: @:;