summaryrefslogtreecommitdiff
path: root/jenkins.sh
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2015-12-06 09:45:24 +0100
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2015-12-06 09:45:24 +0100
commit4a96a2b009b5af2079331f8d2eea2d1d8e98aea9 (patch)
tree5cc648a4570aa2080d17152e3bfc73ca18984e28 /jenkins.sh
parent882a101429a6c23fb6ea40538a97c23451dd6c3f (diff)
jenkins.sh: Follow abe.sh's style in handling multiple --excludecheck options
Change-Id: Ib08025be14712a6bc536055e87cc71d82164d5df
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-xjenkins.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/jenkins.sh b/jenkins.sh
index a419ebac..80b853f0 100755
--- a/jenkins.sh
+++ b/jenkins.sh
@@ -83,7 +83,7 @@ user_options=""
status=0
# Whether to exclude some component from 'make check'
-excludecheck=
+excludecheck_opt=""
# Whether to rebuild the toolchain even if logs are already present.
# Note that the check is done on logserver/logname pair, so logname should not
@@ -108,7 +108,7 @@ while test $# -gt 0; do
-l|--languages) languages=$2; shift ;;
-r|--runtests) runtests="true" ;;
-b|--bootstrap) try_bootstrap="true" ;;
- --excludecheck) excludecheck=$2; shift ;;
+ --excludecheck) excludecheck_opt="$excludecheck_opt --excludecheck $2"; shift ;;
--norebuild) rebuild=false ;;
-h|--help) usage ;;
esac
@@ -267,7 +267,7 @@ if test x"${runtests}" = xtrue; then
fi
check="--check all"
- check="${check}${excludecheck:+ --excludecheck ${excludecheck}}"
+ check="${check}${excludecheck_opt}"
fi
if test x"${target}" != x"native" -a x"${target}" != x; then