xref: /freebsd/contrib/bmake/unit-tests/error.mk (revision 148ee84570001f46b7b667c86573d378101c3801)
1*148ee845SSimon J. Gerraty# $NetBSD: error.mk,v 1.4 2023/06/01 20:56:35 rillig Exp $
2e2eeea75SSimon J. Gerraty#
3e2eeea75SSimon J. Gerraty# Demonstrate that the .error directive exits immediately, without
4e2eeea75SSimon J. Gerraty# continuing parsing until the end of the file.
5db29cad8SSimon J. Gerraty
6*148ee845SSimon J. Gerraty# expect+1: just FYI
7db29cad8SSimon J. Gerraty.info just FYI
8*148ee845SSimon J. Gerraty# expect+1: warning: this could be serious
9db29cad8SSimon J. Gerraty.warning this could be serious
10*148ee845SSimon J. Gerraty# expect+1: this is fatal
11db29cad8SSimon J. Gerraty.error this is fatal
12e2eeea75SSimon J. Gerraty.info this is not reached because of the .error above
13db29cad8SSimon J. Gerraty
14db29cad8SSimon J. Gerratyall:
15e2eeea75SSimon J. Gerraty	: this is not reached because of the .error
16