diff options
Diffstat (limited to 'unit-tests/depsrc-silent.mk')
-rw-r--r-- | unit-tests/depsrc-silent.mk | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/unit-tests/depsrc-silent.mk b/unit-tests/depsrc-silent.mk new file mode 100644 index 0000000000000..98da7b387906d --- /dev/null +++ b/unit-tests/depsrc-silent.mk @@ -0,0 +1,12 @@ +# $NetBSD: depsrc-silent.mk,v 1.3 2020/08/29 17:34:21 rillig Exp $ +# +# Tests for the special source .SILENT in dependency declarations, +# which hides the commands, no matter whether they are prefixed with +# '@' or not. + +# Without the .SILENT, the commands 'echo one' and 'echo two' would be +# written to stdout. +all: .SILENT + echo one + echo two + @echo three |