NetBSD/usr.bin/make/unit-tests/jobs-error-nested.mk
rillig c6ea76207f make(1): add tests for suppressing "stopped in"
These tests demonstrate the unwanted behavior described in PR bin/55578
and PR bin/55832.
2020-12-01 17:50:04 +00:00

21 lines
499 B
Makefile

# $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