summaryrefslogtreecommitdiff
path: root/tcwg-llvm-testsuite.sh
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2020-04-23 11:10:08 +0100
committerDavid Spickett <david.spickett@linaro.org>2020-04-28 13:13:46 +0000
commit6273fc478b9c95c4ae8d42c9021f9428b1d43811 (patch)
tree9564b82cc9e90dc4886835d30cbdea35453b1f53 /tcwg-llvm-testsuite.sh
parent0ce72e970e6cbb6c39469b503cdf65510f4f99d8 (diff)
Shellcheck fixes round 3
Now using the version that's present in the bionic images. Meaning we have more warnings but can also set the minimum level to ignore a lot of them. Fix the check for whether shellcheck supports --severity. (we have pipefail on, but we expect shellcheck to fail in this case) Change-Id: I296b8554591b7d327c75393e3924184abc6512b7
Diffstat (limited to 'tcwg-llvm-testsuite.sh')
-rwxr-xr-xtcwg-llvm-testsuite.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcwg-llvm-testsuite.sh b/tcwg-llvm-testsuite.sh
index d6bf0cf6..e1af1d93 100755
--- a/tcwg-llvm-testsuite.sh
+++ b/tcwg-llvm-testsuite.sh
@@ -9,6 +9,7 @@ set -o pipefail
set -u
BASEDIR=$(dirname "$(readlink -f "$0")")
+# shellcheck disable=SC1090
. "$BASEDIR/tcwg-llvm-common.sh"
# Syntax
@@ -24,6 +25,7 @@ NT_FLAGS=""
# Command line parsing
while [ "$#" -gt 0 ]; do
+ # shellcheck disable=SC2162
IFS="=" read ARG VAL <<< "$1"
case "$ARG" in
--workspace)