xref: /freebsd/contrib/bmake/unit-tests/jobs-error-nested.mk (revision 06b9b3e0ad0dc3f0166b3e8f26ced68c271cf527)
1*06b9b3e0SSimon J. Gerraty# $NetBSD: jobs-error-nested.mk,v 1.1 2020/12/01 17:50:04 rillig 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.
5*06b9b3e0SSimon J. Gerraty#
6*06b9b3e0SSimon J. Gerraty# XXX: This test is run without the -k flag, which prints "stopped in" 4
7*06b9b3e0SSimon J. Gerraty# times.  Why?
8*06b9b3e0SSimon J. Gerraty#
9*06b9b3e0SSimon J. Gerraty# This particular case is not the cause for the PRs, but it is very close.
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
17*06b9b3e0SSimon J. Gerraty	${MAKE} -f ${MAKEFILE} nested
18*06b9b3e0SSimon J. Gerraty
19*06b9b3e0SSimon J. Gerratynested: .PHONY
20*06b9b3e0SSimon J. Gerraty	false
21