aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short.sh
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-10-05 20:15:26 +0000
committerKevin Hilman <khilman@baylibre.com>2017-10-05 20:15:26 +0000
commit98491ec07c457f706f72b796aebcfec2758fa63d (patch)
tree742b85207a48d354400e361f9c5a279f91c374e2 /jjb/common/include-agl-run-test-short.sh
parent3ef9b52b167f6c4b3c0baa72ef5fd1a38d6e96fc (diff)
jjb/common: run-test-short: fix board-specific check for releng-scripts
The (broken) conditional used to check which boards to use with releng-scripts was always returning true. Fix it to use [[ ]] instead of (( )) Change-Id: I244d95c95a40e14e7a3ea682030733096b2af746 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short.sh')
-rw-r--r--jjb/common/include-agl-run-test-short.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh
index a2a3dda6..2e82ade2 100644
--- a/jjb/common/include-agl-run-test-short.sh
+++ b/jjb/common/include-agl-run-test-short.sh
@@ -14,8 +14,8 @@ cd $REPODIR
# WIP: use $RELENG for subset of boards
__MACHINE=${MACHINE%-nogfx} # releng doesn't care
if [ ! -z $RELENG ] && \
- (( x$__MACHINE == x"qemux86-64" || \
- x$__MACHINE == x"m3ulcb" )); then
+ [[ x$__MACHINE == x"qemux86-64" || \
+ x$__MACHINE == x"m3ulcb" ]]; then
CREATE_ARGS=""
[[ ! -z $GERRIT_CHANGE_NUMBER ]] && CREATE_ARGS+="-j $GERRIT_CHANGE_NUMBER "
[[ ! -z $GERRIT_PATCHSET_NUMBER ]] && CREATE_ARGS+="-i $GERRIT_PATCHSET_NUMBER "