Module Name:    src
Committed By:   rillig
Date:           Sun Sep 13 10:20:11 UTC 2020

Modified Files:
        src/usr.bin/make/unit-tests: directive-include-fatal.mk

Log Message:
make(1): test another attempt at resuming from fatal errors


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/usr.bin/make/unit-tests/directive-include-fatal.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/directive-include-fatal.mk
diff -u src/usr.bin/make/unit-tests/directive-include-fatal.mk:1.1 src/usr.bin/make/unit-tests/directive-include-fatal.mk:1.2
--- src/usr.bin/make/unit-tests/directive-include-fatal.mk:1.1	Sun Sep 13 09:20:23 2020
+++ src/usr.bin/make/unit-tests/directive-include-fatal.mk	Sun Sep 13 10:20:11 2020
@@ -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:
 	@:;

Reply via email to