Module Name: src Committed By: rillig Date: Sat Dec 12 12:13:12 UTC 2020
Modified Files: src/usr.bin/make/unit-tests: sh-flags.mk Log Message: make(1): demonstrate that -s and .SILENT have the same effect To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/make/unit-tests/sh-flags.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/sh-flags.mk diff -u src/usr.bin/make/unit-tests/sh-flags.mk:1.2 src/usr.bin/make/unit-tests/sh-flags.mk:1.3 --- src/usr.bin/make/unit-tests/sh-flags.mk:1.2 Thu Dec 10 17:55:30 2020 +++ src/usr.bin/make/unit-tests/sh-flags.mk Sat Dec 12 12:13:12 2020 @@ -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 @@ ${target}: .MAKE .if ${tgt-ignerr} == yes ${target}: .IGNORE .endif -.if ${tgt-silent} == yes +.if ${tgt-silent} == yes || ${OPT_TARGET:M*s*} ${target}: .SILENT .endif