xref: /freebsd/contrib/bmake/unit-tests/jobs-error-indirect.mk (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# $NetBSD: jobs-error-indirect.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" twice.
7# 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#
15
16.MAKEFLAGS: -j1
17
18all: .PHONY indirect
19
20indirect: .PHONY
21	false
22