xref: /freebsd/contrib/bmake/unit-tests/jobs-error-nested.mk (revision 6be3386466ab79a84b48429ae66244f21526d3df)
1# $NetBSD: jobs-error-nested.mk,v 1.1 2020/12/01 17:50:04 rillig Exp $
2#
3# Ensure that in jobs mode, when a command fails, the current directory is
4# printed, to aid in debugging.
5#
6# XXX: This test is run without the -k flag, which prints "stopped in" 4
7# times.  Why?
8#
9# This particular case is not the cause for the PRs, but it is very close.
10#
11# https://gnats.netbsd.org/55578
12# https://gnats.netbsd.org/55832
13
14.MAKEFLAGS: -j1
15
16all: .PHONY
17	${MAKE} -f ${MAKEFILE} nested
18
19nested: .PHONY
20	false
21