jjb/common: run-tests: rely on templates for test plans 17/17817/2
authorKevin Hilman <khilman@baylibre.com>
Thu, 8 Nov 2018 23:27:00 +0000 (15:27 -0800)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 11 Nov 2018 21:36:34 +0000 (21:36 +0000)
Instead of always pasing "--tests all" rely on the templates in
releng-scripts (templates/config) to determine the test plans to run
based on --build-type.

Change-Id: I7ac3b0a35f4cd3c45af9f2b28f8892fa31a04e2e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
jjb/common/include-agl-run-test-short-release.sh
jjb/common/include-agl-run-test-short.sh

index a05506d..50e53e2 100644 (file)
@@ -23,7 +23,6 @@ BUILD_VERSION="AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION"
 CREATE_ARGS+="--name AGL-gerrit-$RELEASE_BRANCH-$RELEASE_VERSION "
 CREATE_ARGS+="--build-version $BUILD_VERSION "
 CREATE_ARGS+="--callback-from ${LAVA_LAB} "
-CREATE_ARGS+="--test all"
 $RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml
 
 if [ $? != 0 ]; then
index 1e4a738..903d953 100644 (file)
@@ -23,7 +23,6 @@ BUILD_VERSION="AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER"
 CREATE_ARGS+="--name AGL-gerrit-$GERRIT_CHANGE_NUMBER-$GERRIT_PATCHSET_NUMBER "
 CREATE_ARGS+="--build-version $BUILD_VERSION "
 CREATE_ARGS+="--callback-from ${LAVA_LAB} "
-CREATE_ARGS+="--test all"
 $RELENG/utils/create-jobs.py ${CREATE_ARGS} > testjob.yaml
 
 if [ $? != 0 ]; then