diff options
Diffstat (limited to 'contrib/bmake/unit-tests/jobs-error-nested.mk')
-rw-r--r-- | contrib/bmake/unit-tests/jobs-error-nested.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/bmake/unit-tests/jobs-error-nested.mk b/contrib/bmake/unit-tests/jobs-error-nested.mk new file mode 100644 index 000000000000..879bfff89984 --- /dev/null +++ b/contrib/bmake/unit-tests/jobs-error-nested.mk @@ -0,0 +1,20 @@ +# $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 |