aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/opt-query.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/opt-query.mk')
-rw-r--r--unit-tests/opt-query.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/unit-tests/opt-query.mk b/unit-tests/opt-query.mk
index 04e605991140..0a7d5219a8fe 100644
--- a/unit-tests/opt-query.mk
+++ b/unit-tests/opt-query.mk
@@ -1,4 +1,4 @@
-# $NetBSD: opt-query.mk,v 1.3 2020/08/19 05:13:18 rillig Exp $
+# $NetBSD: opt-query.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $
#
# Tests for the -q command line option.
#
@@ -6,6 +6,8 @@
# None of the commands in the targets are run, not even those that are
# prefixed with '+'.
+.MAKEFLAGS: -q
+
# This command cannot be prevented from being run since it is used at parse
# time, and any later variable assignments may depend on its result.
!= echo 'command during parsing' 1>&2; echo