diff options
Diffstat (limited to 'contrib/bmake/unit-tests/opt-debug-graph2.mk')
-rw-r--r-- | contrib/bmake/unit-tests/opt-debug-graph2.mk | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/contrib/bmake/unit-tests/opt-debug-graph2.mk b/contrib/bmake/unit-tests/opt-debug-graph2.mk index 92ffac6f7539..49e27569aa98 100644 --- a/contrib/bmake/unit-tests/opt-debug-graph2.mk +++ b/contrib/bmake/unit-tests/opt-debug-graph2.mk @@ -1,9 +1,23 @@ -# $NetBSD: opt-debug-graph2.mk,v 1.1 2020/09/05 06:20:51 rillig Exp $ +# $NetBSD: opt-debug-graph2.mk,v 1.3 2021/02/02 17:47:56 rillig Exp $ # # Tests for the -dg2 command line option, which prints the input # graph after making everything, or before exiting on error. +# +# Before compat.c 1.222 from 2021-02-02, there was no debug output despite +# the error. + +.MAKEFLAGS: -dg2 + +.MAIN: all + +made-target: .PHONY + : 'Making $@.' + +error-target: .PHONY + false -# TODO: Implementation +aborted-target: .PHONY aborted-target-dependency +aborted-target-dependency: .PHONY + false -all: - @:; +all: made-target error-target aborted-target |