aboutsummaryrefslogtreecommitdiff
path: root/contrib/bmake/unit-tests/error.mk
blob: 2383e60da6fba0649d947f807982681f877e959c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: error.mk,v 1.4 2023/06/01 20:56:35 rillig Exp $
#
# Demonstrate that the .error directive exits immediately, without
# continuing parsing until the end of the file.

# expect+1: just FYI
.info just FYI
# expect+1: warning: this could be serious
.warning this could be serious
# expect+1: this is fatal
.error this is fatal
.info this is not reached because of the .error above

all:
	: this is not reached because of the .error