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

This commit is contained in:
rillig 2020-09-13 10:20:11 +00:00
parent 4273a431f0
commit cb16418ed6

View File

@ -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:
@:;