xref: /freebsd/contrib/bmake/unit-tests/deptgt-end-fail-indirect.mk (revision ec0ea6efa1ad229d75c394c1a9b9cac33af2b1d3)
1# $NetBSD: deptgt-end-fail-indirect.mk,v 1.2 2020/12/06 21:22:04 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_Run 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