aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-run-test-short.sh
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2019-05-30 15:47:55 -0700
committerKevin Hilman <khilman@baylibre.com>2019-05-30 15:48:06 -0700
commitec1dc1fe22aaa9b5e1ef61976fcabde3d0eae9c5 (patch)
tree59b1c33109a86927e58f97aca17b11ce7752a5b2 /jjb/common/include-agl-run-test-short.sh
parent3c0d9b5a0a1ea8ec10c03de238ddcbf492646607 (diff)
jjb/common: run-test-short: only use lavacli tags
Only pass tags that were queried from the LAVA devices themselves, don't add any additional tags (e.g. "weston") This is done since after recent changes to releng-scripts, using --device-tags will *require* those tags to be present for a given device for the job to run, and currently no devices are using the "weston" tag. How to properly handle the -nogfx builds for boards with no display/gfx needs to be revisited after proper tag handling is merged. Change-Id: Ic6ba4743866c5de35ee45063c834c569c4b728eb 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.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/jjb/common/include-agl-run-test-short.sh b/jjb/common/include-agl-run-test-short.sh
index 9995e9b5..0a69360e 100644
--- a/jjb/common/include-agl-run-test-short.sh
+++ b/jjb/common/include-agl-run-test-short.sh
@@ -34,10 +34,8 @@ CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER "
[[ ! -z $DIST_BB_AGL_BRANCH ]] && CREATE_ARGS+="--branch $DIST_BB_AGL_BRANCH "
[[ ! -z $DIST_BB_AGLVERSION ]] && CREATE_ARGS+="--version $DIST_BB_AGLVERSION "
CREATE_ARGS+="--callback-from ${LAVA_LAB} "
-if [[ ! -z $lavacli_tags ]] && [[ $MACHINE =~ "-nogfx" ]]; then
- CREATE_ARGS+="--device-tags ${lavacli_tags} "
-else
- CREATE_ARGS+="--device-tags ${lavacli_tags} "weston" "
+if [[ ! -z $lavacli_tags ]]; then
+ CREATE_ARGS+="--device-tags ${lavacli_tags} "
fi
$RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml