06b9b3e0ad
Quite a lot of churn on style, but lots of good work refactoring complicated functions and lots more unit-tests. Thanks mostly to rillig at NetBSD Some interesting entries from ChangeLog o .MAKE.{UID,GID} represent uid and gid running make. o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o add more unit tests for META MODE Merge commit '8e11a9b4250be3c3379c45fa820bff78d99d5946' into main Change-Id: I464fd4c013067f0915671c1ccc96d2d8090b2b9c
22 lines
607 B
Makefile
22 lines
607 B
Makefile
# $NetBSD: directive-warning.mk,v 1.6 2020/12/19 22:33:11 rillig Exp $
|
|
#
|
|
# Tests for the .warning directive.
|
|
#
|
|
# Until parse.c 1.502 from 2020-12-19, a missing argument to the directive
|
|
# produced the wrong error message "Unknown directive". Since parse.c 1.503
|
|
# from 2020-12-19, the correct "Missing argument" is produced.
|
|
|
|
# TODO: Implementation
|
|
|
|
.warn # misspelled
|
|
.warn message # misspelled
|
|
.warnin # misspelled
|
|
.warnin message # misspelled
|
|
.warning # "Missing argument"
|
|
.warning message # ok
|
|
.warnings # misspelled
|
|
.warnings messages # Accepted before 2020-12-13 01:07:54.
|
|
|
|
all:
|
|
@:;
|