Remove .MAKE from nested target which is not a sub-make

This does not fix the issue, just makes the unit-test more accurate.

PR: 55578
Reviewed by: rillig
This commit is contained in:
sjg 2021-01-07 18:11:23 +00:00
parent 73ce770b75
commit 3abd1687f2
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
make -f jobs-error-nested-make.mk nested
false
*** [nested] Error code 1
make: stopped in unit-tests
1 error
make: stopped in unit-tests
exit status 2

View File

@ -1,4 +1,4 @@
# $NetBSD: jobs-error-nested-make.mk,v 1.1 2020/12/01 17:50:04 rillig Exp $
# $NetBSD: jobs-error-nested-make.mk,v 1.2 2021/01/07 18:11:23 sjg Exp $
#
# Ensure that in jobs mode, when a command fails, the current directory is
# printed, to aid in debugging, even if the target is marked as .MAKE.
@ -16,5 +16,5 @@
all: .PHONY .MAKE
${MAKE} -f ${MAKEFILE} nested
nested: .PHONY .MAKE
nested: .PHONY
false