Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests make(1): test another attempt at res...



details:   https://anonhg.NetBSD.org/src/rev/011f41ba717f
branches:  trunk
changeset: 954913:011f41ba717f
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sun Sep 13 10:20:11 2020 +0000

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

diffstat:

 usr.bin/make/unit-tests/directive-include-fatal.mk |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r f6c55c58beb3 -r 011f41ba717f usr.bin/make/unit-tests/directive-include-fatal.mk
--- a/usr.bin/make/unit-tests/directive-include-fatal.mk        Sun Sep 13 09:43:01 2020 +0000
+++ b/usr.bin/make/unit-tests/directive-include-fatal.mk        Sun Sep 13 10:20:11 2020 +0000
@@ -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:
        @:;



Home | Main Index | Thread Index | Old Index