Module Name: src
Committed By: rillig
Date: Tue Sep 15 16:22:04 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: Makefile lint.mk
Log Message:
make(1): move flags for lint test into the test itself
To generate a diff of this commit:
cvs rdiff -u -r1.142 -r1.143 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/lint.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/unit-tests/Makefile
diff -u src/usr.bin/make/unit-tests/Makefile:1.142 src/usr.bin/make/unit-tests/Makefile:1.143
--- src/usr.bin/make/unit-tests/Makefile:1.142 Mon Sep 14 06:44:50 2020
+++ src/usr.bin/make/unit-tests/Makefile Tue Sep 15 16:22:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.142 2020/09/14 06:44:50 rillig Exp $
+# $NetBSD: Makefile,v 1.143 2020/09/15 16:22:04 rillig Exp $
#
# Unit tests for make(1)
#
@@ -363,7 +363,6 @@ FLAGS.directive-ifmake= first second
FLAGS.doterror= # none
FLAGS.envfirst= -e
FLAGS.export= # none
-FLAGS.lint= -dL -k
FLAGS.opt-ignore= -i
FLAGS.opt-keep-going= -k
FLAGS.opt-no-action= -n
Index: src/usr.bin/make/unit-tests/lint.mk
diff -u src/usr.bin/make/unit-tests/lint.mk:1.2 src/usr.bin/make/unit-tests/lint.mk:1.3
--- src/usr.bin/make/unit-tests/lint.mk:1.2 Sat Aug 8 13:00:07 2020
+++ src/usr.bin/make/unit-tests/lint.mk Tue Sep 15 16:22:04 2020
@@ -1,4 +1,4 @@
-# $NetBSD: lint.mk,v 1.2 2020/08/08 13:00:07 rillig Exp $
+# $NetBSD: lint.mk,v 1.3 2020/09/15 16:22:04 rillig Exp $
#
# Demonstrates stricter checks that are only enabled in the lint mode,
# using the -dL option.
@@ -10,6 +10,8 @@
# for a moment, but is continued after the wrongly-guessed end of the
# variable, which echoes "y@:Q}".
+.MAKEFLAGS: -dL
+
all: mod-loop-varname
mod-loop-varname: