aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jjb/common/include-agl-run-test-prepare.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/jjb/common/include-agl-run-test-prepare.sh b/jjb/common/include-agl-run-test-prepare.sh
index 20456175..f0701bfc 100644
--- a/jjb/common/include-agl-run-test-prepare.sh
+++ b/jjb/common/include-agl-run-test-prepare.sh
@@ -41,6 +41,11 @@ lava_device=${arr[0]}
releng_device=${arr[1]}
# And agl_device=${MACHINE}
+if [ -z "${lava_device}" -o -z "${releng_device}" ]; then
+ echo "Board not supported: $MACHINE"
+ exit 0
+fi
+
CREATE_ARGS=""
CREATE_ARGS+="--machine ${releng_device} "