]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/bmake/unit-tests/opt-debug-graph3.mk
zfs: merge openzfs/zfs@afa7b3484 (master) into main
[FreeBSD/FreeBSD.git] / contrib / bmake / unit-tests / opt-debug-graph3.mk
1 # $NetBSD: opt-debug-graph3.mk,v 1.3 2021/02/02 17:47:56 rillig Exp $
2 #
3 # Tests for the -dg3 command line option, which prints the input
4 # graph before exiting on error.
5 #
6 # Before compat.c 1.222 from 2021-02-02, there was no debug output despite
7 # the error.
8
9 .MAKEFLAGS: -dg3
10
11 .MAIN: all
12
13 made-target: .PHONY
14         : 'Making $@.'
15
16 error-target: .PHONY
17         false
18
19 aborted-target: .PHONY aborted-target-dependency
20 aborted-target-dependency: .PHONY
21         false
22
23 all: made-target error-target aborted-target