xref: /freebsd/contrib/bmake/unit-tests/jobs-error-indirect.mk (revision 02e9120893770924227138ba49df1edb3896112a)
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