xref: /freebsd/contrib/bmake/unit-tests/jobs-error-nested-make.mk (revision 06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527)
1*06b9b3e0SSimon J. Gerraty# $NetBSD: jobs-error-nested-make.mk,v 1.2 2021/01/07 18:11:23 sjg Exp $
2*06b9b3e0SSimon J. Gerraty#
3*06b9b3e0SSimon J. Gerraty# Ensure that in jobs mode, when a command fails, the current directory is
4*06b9b3e0SSimon J. Gerraty# printed, to aid in debugging, even if the target is marked as .MAKE.
5*06b9b3e0SSimon J. Gerraty# This marker is typically used for targets like 'all' that descend into
6*06b9b3e0SSimon J. Gerraty# subdirectories.
7*06b9b3e0SSimon J. Gerraty#
8*06b9b3e0SSimon J. Gerraty# XXX: In case of .MAKE targets, the "stopped if" output has been suppressed
9*06b9b3e0SSimon J. Gerraty# since job.c 1.198 from 2020-06-19.
10*06b9b3e0SSimon J. Gerraty#
11*06b9b3e0SSimon J. Gerraty# https://gnats.netbsd.org/55578
12*06b9b3e0SSimon J. Gerraty# https://gnats.netbsd.org/55832
13*06b9b3e0SSimon J. Gerraty
14*06b9b3e0SSimon J. Gerraty.MAKEFLAGS: -j1
15*06b9b3e0SSimon J. Gerraty
16*06b9b3e0SSimon J. Gerratyall: .PHONY .MAKE
17*06b9b3e0SSimon J. Gerraty	${MAKE} -f ${MAKEFILE} nested
18*06b9b3e0SSimon J. Gerraty
19*06b9b3e0SSimon J. Gerratynested: .PHONY
20*06b9b3e0SSimon J. Gerraty	false
21