Home | History | Annotate | Line # | Download | only in unit-tests
      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 
      9 all:
     10 	: $@
     11 
     12 .END: failing
     13 	: Making ${.TARGET} from ${.ALLSRC}.
     14 
     15 failing: .PHONY
     16 	false
     17