From 98491ec07c457f706f72b796aebcfec2758fa63d Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Thu, 5 Oct 2017 20:15:26 +0000 Subject: 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 --- jjb/common/include-agl-run-test-short.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jjb') 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 " -- cgit 1.2.3-korg