Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests make(1): demonstrate that -s and .SI...



details:   https://anonhg.NetBSD.org/src/rev/e2f77850bf42
branches:  trunk
changeset: 957826:e2f77850bf42
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Dec 12 12:13:12 2020 +0000

description:
make(1): demonstrate that -s and .SILENT have the same effect

diffstat:

 usr.bin/make/unit-tests/sh-flags.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fd4cc1b11a67 -r e2f77850bf42 usr.bin/make/unit-tests/sh-flags.mk
--- a/usr.bin/make/unit-tests/sh-flags.mk       Sat Dec 12 11:33:10 2020 +0000
+++ b/usr.bin/make/unit-tests/sh-flags.mk       Sat Dec 12 12:13:12 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: sh-flags.mk,v 1.2 2020/12/10 17:55:30 rillig Exp $
+# $NetBSD: sh-flags.mk,v 1.3 2020/12/12 12:13:12 rillig Exp $
 #
 # Tests for the effective RunFlags of a shell command (run/skip, echo/silent,
 # error check, trace), which are controlled by 12 different switches.  These
@@ -111,7 +111,7 @@
 .if ${tgt-ignerr} == yes
 ${target}: .IGNORE
 .endif
-.if ${tgt-silent} == yes
+.if ${tgt-silent} == yes || ${OPT_TARGET:M*s*}
 ${target}: .SILENT
 .endif
 



Home | Main Index | Thread Index | Old Index