xref: /freebsd/contrib/bmake/unit-tests/deptgt-end-fail-indirect.mk (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1# $NetBSD: deptgt-end-fail-indirect.mk,v 1.3 2022/05/07 08:01:20 rillig Exp $
2#
3# Tests for an error in a dependency of the .END node.
4#
5# Before 2020-11-25, an error in the .END target did not print the "Stop."
6# and exited with status 0.  The cause for this was a missing condition in
7# Compat_MakeAll in the handling of the .END node.
8
9all:
10	: $@
11
12.END: failing
13	: Making ${.TARGET} from ${.ALLSRC}.
14
15failing: .PHONY
16	false
17