summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/jobs-error-nested.mk
blob: 879bfff89984440f5c2cc8d6403da318cf226792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: jobs-error-nested.mk,v 1.1 2020/12/01 17:50:04 rillig Exp $
#
# Ensure that in jobs mode, when a command fails, the current directory is
# printed, to aid in debugging.
#
# XXX: This test is run without the -k flag, which prints "stopped in" 4
# times.  Why?
#
# This particular case is not the cause for the PRs, but it is very close.
#
# https://gnats.netbsd.org/55578
# https://gnats.netbsd.org/55832

.MAKEFLAGS: -j1

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

nested: .PHONY
	false