1*d5e0a182SSimon J. Gerraty# $NetBSD: directive-warning.mk,v 1.9 2023/12/17 09:44:00 rillig Exp $ 22c3632d1SSimon J. Gerraty# 32c3632d1SSimon J. Gerraty# Tests for the .warning directive. 406b9b3e0SSimon J. Gerraty# 506b9b3e0SSimon J. Gerraty# Until parse.c 1.502 from 2020-12-19, a missing argument to the directive 606b9b3e0SSimon J. Gerraty# produced the wrong error message "Unknown directive". Since parse.c 1.503 706b9b3e0SSimon J. Gerraty# from 2020-12-19, the correct "Missing argument" is produced. 82c3632d1SSimon J. Gerraty 9148ee845SSimon J. Gerraty# expect+1: Unknown directive "warn" 10e2eeea75SSimon J. Gerraty.warn # misspelled 11148ee845SSimon J. Gerraty# expect+1: Unknown directive "warn" 12e2eeea75SSimon J. Gerraty.warn message # misspelled 13148ee845SSimon J. Gerraty# expect+1: Unknown directive "warnin" 14e2eeea75SSimon J. Gerraty.warnin # misspelled 15148ee845SSimon J. Gerraty# expect+1: Unknown directive "warnin" 16e2eeea75SSimon J. Gerraty.warnin message # misspelled 17148ee845SSimon J. Gerraty# expect+1: Missing argument for ".warning" 1806b9b3e0SSimon J. Gerraty.warning # "Missing argument" 19*d5e0a182SSimon J. Gerraty.warning message # expect+0: warning: message 20148ee845SSimon J. Gerraty# expect+1: Unknown directive "warnings" 21e2eeea75SSimon J. Gerraty.warnings # misspelled 22148ee845SSimon J. Gerraty# expect+1: Unknown directive "warnings" 2306b9b3e0SSimon J. Gerraty.warnings messages # Accepted before 2020-12-13 01:07:54. 24e2eeea75SSimon J. Gerraty 259f45a3c8SSimon J. Gerratyall: .PHONY 26