diff options
author | Aníbal Limón <anibal.limon@linaro.org> | 2018-09-04 17:20:19 -0500 |
---|---|---|
committer | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2018-09-05 19:51:30 +0000 |
commit | 6a597c8c92d28f9d8b2674456a42cd1d43e928e6 (patch) | |
tree | 0e5b8f1f72def1fa79dc51beca41f913a9a73d5e /lt-qcom-linux-integration | |
parent | 6c26f68fd71234a1d2349242264a69abeda2dc8b (diff) |
lt-qcom-linux-integration: Avoid send linux mainline jobs for db820c and sdm845
Into the linux-mainline there is work to do for get db820c (GIC patch)
and sdm845 working, for now both boards fails at boot so disable it.
Change-Id: If77c05af91e18eb721267beff7d3d67f0cd5aadc
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Diffstat (limited to 'lt-qcom-linux-integration')
-rwxr-xr-x | lt-qcom-linux-integration/submit_for_testing.sh | 61 |
1 files changed, 38 insertions, 23 deletions
diff --git a/lt-qcom-linux-integration/submit_for_testing.sh b/lt-qcom-linux-integration/submit_for_testing.sh index 62b058207a..060957407d 100755 --- a/lt-qcom-linux-integration/submit_for_testing.sh +++ b/lt-qcom-linux-integration/submit_for_testing.sh @@ -20,8 +20,12 @@ export ROOTFS_URL_COMP="gz" export LXC_ROOTFS_FILE=$(basename ${ROOTFS_URL} .gz) export RESIZE_ROOTFS=True +SEND_TESTJOB=false + case "${MACHINE}" in dragonboard410c|dragonboard820c|sdm845_mtp) + SEND_TESTJOB=true + if [ ${MACHINE} = "dragonboard410c" ]; then export LAVA_DEVICE_TYPE="dragonboard-410c" export INSTALL_FASTBOOT=True @@ -32,6 +36,7 @@ case "${MACHINE}" in export ETH_DEVICE="eth0" export BOOT_OS_PROMPT=\'root@dragonboard-410c:~#\' + elif [ ${MACHINE} = "dragonboard820c" ]; then export LAVA_DEVICE_TYPE="dragonboard-820c" export INSTALL_FASTBOOT=True @@ -42,6 +47,10 @@ case "${MACHINE}" in export ETH_DEVICE="enP2p1s0" export BOOT_OS_PROMPT=\'root@dragonboard-820c:~#\' + + if [ ${QA_SERVER_PROJECT} = "linux-master" ]; then + SEND_TESTJOB=false + fi elif [ ${MACHINE} = "sdm845_mtp" ]; then export LAVA_DEVICE_TYPE="sdm845-mtp" export INSTALL_FASTBOOT= @@ -54,33 +63,39 @@ case "${MACHINE}" in # XXX: We are using db410c OE userspace export BOOT_OS_PROMPT=\'root@dragonboard-410c:~#\' + + if [ ${QA_SERVER_PROJECT} = "linux-master" ]; then + SEND_TESTJOB=false + fi fi export SMOKE_TESTS="pwd, uname -a, ip a, vmstat, lsblk" - - python configs/openembedded-lkft/submit_for_testing.py \ - --device-type ${LAVA_DEVICE_TYPE} \ - --build-number ${BUILD_NUMBER} \ - --lava-server ${LAVA_SERVER} \ - --qa-server ${QA_SERVER} \ - --qa-server-team qcomlt \ - --qa-server-project ${QA_SERVER_PROJECT} \ - --git-commit ${BUILD_NUMBER} \ - --template-path configs/lt-qcom-linux-integration/lava-job-definitions \ - --template-names template-bootrr.yaml - - python configs/openembedded-lkft/submit_for_testing.py \ - --device-type ${LAVA_DEVICE_TYPE} \ - --build-number ${BUILD_NUMBER} \ - --lava-server ${LAVA_SERVER} \ - --qa-server ${QA_SERVER} \ - --qa-server-team qcomlt \ - --qa-server-project ${QA_SERVER_PROJECT} \ - --git-commit ${BUILD_NUMBER} \ - --template-path configs/lt-qcom-linux-integration/lava-job-definitions \ - --template-base-pre base_template-functional.yaml \ - --template-names template-functional.yaml ;; *) echo "Skip LAVA_DEVICE_TYPE for ${MACHINE}" ;; esac + +if [ $SEND_TESTJOB = true ]; then + python configs/openembedded-lkft/submit_for_testing.py \ + --device-type ${LAVA_DEVICE_TYPE} \ + --build-number ${BUILD_NUMBER} \ + --lava-server ${LAVA_SERVER} \ + --qa-server ${QA_SERVER} \ + --qa-server-team qcomlt \ + --qa-server-project ${QA_SERVER_PROJECT} \ + --git-commit ${BUILD_NUMBER} \ + --template-path configs/lt-qcom-linux-integration/lava-job-definitions \ + --template-names template-bootrr.yaml + + python configs/openembedded-lkft/submit_for_testing.py \ + --device-type ${LAVA_DEVICE_TYPE} \ + --build-number ${BUILD_NUMBER} \ + --lava-server ${LAVA_SERVER} \ + --qa-server ${QA_SERVER} \ + --qa-server-team qcomlt \ + --qa-server-project ${QA_SERVER_PROJECT} \ + --git-commit ${BUILD_NUMBER} \ + --template-path configs/lt-qcom-linux-integration/lava-job-definitions \ + --template-base-pre base_template-functional.yaml \ + --template-names template-functional.yaml +fi |