From: Richard Hansen Date: Mon, 3 Feb 2025 23:26:50 +0000 (-0500) Subject: tests: turn off `set -x' in `diag_' X-Git-Tag: v1.17.90~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d99f24563c6ef5ae9ba5fceffaec7f4b76af3c8;p=thirdparty%2Fautomake.git tests: turn off `set -x' in `diag_' * t/ax/tap-functions.sh (diag_): Turn off `set -x' to reduce log spam. --- diff --git a/t/ax/tap-functions.sh b/t/ax/tap-functions.sh index 41dd3f407..619cad183 100644 --- a/t/ax/tap-functions.sh +++ b/t/ax/tap-functions.sh @@ -74,9 +74,10 @@ planned_=none # done to allow better interplay with TAP drivers that allow such a string # to be configured. diag_ () -{ +( + set +x test $# -eq 0 || echo "$diag_string_ $*" -} +) # Used by the 'diag_' function above. User-overridable. diag_string_="#"