aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short-release.sh
diff options
context:
space:
mode:
authorLoys Ollivier <lollivier@baylibre.com>2017-12-11 11:33:22 +0100
committerLoys Ollivier <lollivier@baylibre.com>2017-12-11 11:33:22 +0100
commita9fcea01daf49de7099a85691eb4e9fc3b091b7e (patch)
tree44dfb60125daba87384711d02f02273989b2ac20 /jjb/common/include-agl-run-test-short-release.sh
parent1d1a61d43745afa2e7422de8122b3dfa63977624 (diff)
jjb/common: clean up device names to standardized ones.
Use the device_name table aliases earlier in the CI process. That way all the scripts are using the correct device name. Avoiding name mismatch resulting to CI failure. Change-Id: Ia6f9f8beb06c43a24605abb24e676eaed68cc67e Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-run-test-short-release.sh')
-rw-r--r--jjb/common/include-agl-run-test-short-release.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/jjb/common/include-agl-run-test-short-release.sh b/jjb/common/include-agl-run-test-short-release.sh
index 13a122e7..89992f85 100644
--- a/jjb/common/include-agl-run-test-short-release.sh
+++ b/jjb/common/include-agl-run-test-short-release.sh
@@ -7,10 +7,8 @@
set -x
-echo "## ${MACHINE} ##"
cd $REPODIR
-__MACHINE=${MACHINE%-nogfx} # releng doesn't care
echo "# LAVA lab target: ${LAVA_LAB} #"
# releng-scripts depends on jinja2 >= 2.9
echo "## Check version of python-jinja2: "
@@ -29,7 +27,7 @@ CREATE_ARGS+="--test all"
$RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml
if [ $? != 0 ]; then
- echo "ERROR: Machine ${$__MACHINE}: LAVA job creation failed."
+ echo "ERROR: Machine ${releng_device}: LAVA job creation failed."
exit 0
else
cat testjob.yaml