aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/jobs-error-nested-make.mk
blob: 8cccf7df6a52d4a7fc25404b75f641e792618ce2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $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.
# This marker is typically used for targets like 'all' that descend into
# subdirectories.
#
# XXX: In case of .MAKE targets, the "stopped if" output has been suppressed
# since job.c 1.198 from 2020-06-19.
#
# https://gnats.netbsd.org/55578
# https://gnats.netbsd.org/55832

.MAKEFLAGS: -j1

all: .PHONY .MAKE
	${MAKE} -f ${MAKEFILE} nested

nested: .PHONY
	false