lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master c3b61a7 4/4: Inhibit shellcheck-0.7.2 diagnos


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c3b61a7 4/4: Inhibit shellcheck-0.7.2 diagnostics
Date: Thu, 19 Aug 2021 07:03:53 -0400 (EDT)

branch: master
commit c3b61a728c74c3cbcf94da1b074c11bbb1205202
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Inhibit shellcheck-0.7.2 diagnostics
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2021-08/msg00006.html
---
 gwc/invert.sh        | 2 +-
 gwc/unit_test.sh     | 3 +--
 nychthemeral_test.sh | 6 +++---
 set_toolchain.sh     | 2 +-
 4 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/gwc/invert.sh b/gwc/invert.sh
index bffa202..116b986 100755
--- a/gwc/invert.sh
+++ b/gwc/invert.sh
@@ -31,7 +31,7 @@
 
 # This script requires zsh because brace expansion is more convenient
 # than 'seq', and especially because zsh offers glob qualifiers.
-# shellcheck disable=SC1036,SC2039
+# shellcheck disable=SC1036,SC2039,SC3009,SC3030
 
 X=$(printf '\%03o' {255..0})
 Y=$(printf '\%03o' {0..255})
diff --git a/gwc/unit_test.sh b/gwc/unit_test.sh
index b87176a..60db840 100755
--- a/gwc/unit_test.sh
+++ b/gwc/unit_test.sh
@@ -13,8 +13,7 @@ exec_prefix="$prefix/${LMI_COMPILER}_${LMI_TRIPLET}"
 log_dir="$exec_prefix"/logs
 {
 printf 'LMI_TRIPLET = "%s"\n' "$LMI_TRIPLET" > /dev/tty
-# shellcheck disable=SC2154
-# shellcheck disable=SC2039
+# shellcheck disable=SC2039,SC2154,SC3001
   make "$coefficiency" --output-sync=recurse unit_tests 2>&1 \
     | tee \
     >(grep '\*\*\*') \
diff --git a/nychthemeral_test.sh b/nychthemeral_test.sh
index 9dda118..90a3c9a 100755
--- a/nychthemeral_test.sh
+++ b/nychthemeral_test.sh
@@ -208,7 +208,7 @@ else
 fi
 
 printf '\n# unit tests\n\n'
-# shellcheck disable=SC2039
+# shellcheck disable=SC2039,SC3001
 make "$coefficiency" --output-sync=recurse unit_tests 2>&1 \
   | tee >(grep '\*\*\*') >(grep \?\?\?\?) >(grep '!!!!' --count | xargs printf 
'%d tests succeeded\n') >"$log_dir"/unit_tests
 
@@ -225,7 +225,7 @@ make "$coefficiency" --output-sync=recurse cgi_tests 
cli_tests build_type=safest
   | tee "$log_dir"/cgi_cli_safestdlib | sed -e "$build_clutter" -e 
"$cli_cgi_clutter"
 
 printf '\n# unit tests in libstdc++ debug mode\n\n'
-# shellcheck disable=SC2039
+# shellcheck disable=SC2039,SC3001
 make "$coefficiency" --output-sync=recurse unit_tests build_type=safestdlib 
2>&1 \
   | tee >(grep '\*\*\*') >(grep \?\?\?\?) >(grep '!!!!' --count | xargs printf 
'%d tests succeeded\n') >"$log_dir"/unit_tests_safestdlib
 
@@ -291,7 +291,7 @@ cmp eraseme.xst eraseme.touchstone
 
 # Clean up stray output. (The zsh '(N)' glob qualifier turns on
 # null_glob for a single expansion.)
-# shellcheck disable=SC2039
+# shellcheck disable=SC2039,SC3002
 for z in "$throwaway_dir"/*(N); do rm "$z"; done
 
 printf '\n# test PETE rebuild\n\n'
diff --git a/set_toolchain.sh b/set_toolchain.sh
index da23282..abfaeb0 100755
--- a/set_toolchain.sh
+++ b/set_toolchain.sh
@@ -38,7 +38,7 @@
 #   http://austingroupbugs.net/view.php?id=767
 # 'dash' and 'ash' already have 'local', so, while it's not yet POSIX,
 # it's used here, and its 'shellcheck' warning is disabled:
-# shellcheck disable=SC2039
+# shellcheck disable=SC2039,SC3043
 
 # Unimplemented alternative: Variables such as $prefix could be made
 # similarly overridable, along with other directories--perhaps even



reply via email to

[Prev in Thread] Current Thread [Next in Thread]