diff options
Diffstat (limited to 'unit-tests/deptgt-end-fail-indirect.mk')
| -rw-r--r-- | unit-tests/deptgt-end-fail-indirect.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/unit-tests/deptgt-end-fail-indirect.mk b/unit-tests/deptgt-end-fail-indirect.mk new file mode 100644 index 000000000000..29346b8321fe --- /dev/null +++ b/unit-tests/deptgt-end-fail-indirect.mk @@ -0,0 +1,16 @@ +# $NetBSD: deptgt-end-fail-indirect.mk,v 1.2 2020/12/06 21:22:04 rillig Exp $ +# +# Tests for an error in a dependency of the .END node. +# +# Before 2020-11-25, an error in the .END target did not print the "Stop." +# and exited with status 0. The cause for this was a missing condition in +# Compat_Run in the handling of the .END node. + +all: + : $@ + +.END: failing + : Making ${.TARGET} from ${.ALLSRC}. + +failing: .PHONY + false |
