Code Review
/
ci-management.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
a9fcea0
)
jjb/common: run-test-prepare: fix unmapped boards
57/12457/1
author
Kevin Hilman
<khilman@baylibre.com>
Tue, 12 Dec 2017 05:07:43 +0000
(
05:07
+0000)
committer
Kevin Hilman
<khilman@baylibre.com>
Tue, 12 Dec 2017 05:10:56 +0000
(
05:10
+0000)
If a $MACHINE doesn't have a proper mapping for LAVA or
releng-scripts, fail gracefully (exit 0)
Change-Id: I8d25e2dd861cb29cefd74c07138f5f78e590569f
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-run-test-prepare.sh
patch
|
blob
|
history
diff --git
a/jjb/common/include-agl-run-test-prepare.sh
b/jjb/common/include-agl-run-test-prepare.sh
index
2045617
..
f0701bf
100644
(file)
--- 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} "