diff options
author | Arthur She <arthur.she@linaro.org> | 2018-12-13 23:13:59 -0800 |
---|---|---|
committer | Andrey Konovalov <andrey.konovalov@linaro.org> | 2019-01-22 10:41:37 +0000 |
commit | 87fce5c96f98db92944218afcb06faebdf79a38b (patch) | |
tree | 9954aa6eb874496ece22085d07d6baf3004cfa8a /lhg-oe-build | |
parent | f11615099f166a691e0cd4e9747f8a2f11b20347 (diff) |
lhg-oe-build: Add v4l2-compliance test to dragonboard-410c
Add v4l2-compliance test to dragonboard-410c
Change-Id: I34077abd139485f25b980b4e15ed7cf52be3deb4
Diffstat (limited to 'lhg-oe-build')
-rw-r--r-- | lhg-oe-build/lava-job-definitions/dragonboard-410c/template-v4l2-compliance-test.yaml | 118 | ||||
-rwxr-xr-x | lhg-oe-build/submit_for_testing.sh | 5 |
2 files changed, 122 insertions, 1 deletions
diff --git a/lhg-oe-build/lava-job-definitions/dragonboard-410c/template-v4l2-compliance-test.yaml b/lhg-oe-build/lava-job-definitions/dragonboard-410c/template-v4l2-compliance-test.yaml new file mode 100644 index 00000000..f295c27f --- /dev/null +++ b/lhg-oe-build/lava-job-definitions/dragonboard-410c/template-v4l2-compliance-test.yaml @@ -0,0 +1,118 @@ +device_type: dragonboard-410c +job_name: lhg-oe-v4l2-compliance-test-${MANIFEST_BRANCH}-${BUILD_NUMBER} +timeouts: + job: + minutes: 160 + action: + minutes: 15 + connection: + minutes: 2 +priority: high +visibility: public + +metadata: + manifest branch: ${MANIFEST_BRANCH} + build-url: ${BUILD_URL} + build-location: ${BASE_URL}/${PUB_DEST} + +protocols: + lava-lxc: + name: lxc-dragonboard-410c-test + distribution: ubuntu + release: xenial + arch: amd64 + verbose: true + +actions: +- deploy: + namespace: tlxc + timeout: + minutes: 10 + to: lxc + packages: + - wget + - unzip + os: debian + +- boot: + namespace: tlxc + prompts: + - root@(.*):/# + - root@linaro-developer:~# + timeout: + minutes: 5 + method: lxc + +- test: + namespace: tlxc + timeout: + minutes: 10 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/linux/android-platform-tools/install.yaml + name: install-android-platform-tools-r2600 + parameters: + LINK: 'https://dl.google.com/android/repository/platform-tools_r26.0.0-linux.zip' + +- deploy: + timeout: + minutes: 40 + to: fastboot + namespace: dragonboard-410c + images: + boot: + url: ${BOOT_URL} + rootfs: + url: ${SYSTEM_URL} + compression: gz + apply-overlay: true + os: oe + protocols: + lava-lxc: + - action: fastboot-deploy + request: pre-power-command + timeout: + minutes: 2 + +- boot: + namespace: dragonboard-410c + auto_login: + login_prompt: 'login:' + username: root + prompts: + - root@(.*):/# + - root@dragonboard-410c:~# + timeout: + minutes: 15 + method: fastboot + protocols: + lava-lxc: + - action: auto-login-action + request: pre-os-command + timeout: + minutes: 2 + +- test: + namespace: dragonboard-410c + timeout: + minutes: 30 + definitions: + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/linux/v4l2/v4l2-compliance.yaml + parameters: + # V4L2 capture device + VIDEO_DEVICE: '/dev/video0' + name: v4l2-compliance-venus-capture + timeout: + minutes: 15 + - repository: https://git.linaro.org/qa/test-definitions.git + from: git + path: automated/linux/v4l2/v4l2-compliance.yaml + parameters: + # V4L2 output device + VIDEO_DEVICE: '/dev/video1' + name: v4l2-compliance-venus-output + timeout: + minutes: 15 diff --git a/lhg-oe-build/submit_for_testing.sh b/lhg-oe-build/submit_for_testing.sh index 731e7ff1..82ec4acd 100755 --- a/lhg-oe-build/submit_for_testing.sh +++ b/lhg-oe-build/submit_for_testing.sh @@ -5,6 +5,9 @@ set -ex rm -rf configs git clone --depth 1 http://git.linaro.org/ci/job/configs.git +TEST_JOBS="template-tests-${MANIFEST_BRANCH}.yaml template-wifi-tests.yaml" +[ "${DEVICE_TYPE}" == "dragonboard-410c" ] && TEST_JOBS="${TEST_JOBS} template-v4l2-compliance-test.yaml" + [ -z "${DEVICE_TYPE}" ] || \ python configs/openembedded-lkft/submit_for_testing.py \ --device-type ${DEVICE_TYPE} \ @@ -15,4 +18,4 @@ python configs/openembedded-lkft/submit_for_testing.py \ --qa-server-project ${QA_SERVER_PROJECT} \ --git-commit ${BUILD_NUMBER} \ --template-path configs/lhg-oe-build/lava-job-definitions \ - --template-names template-tests-${MANIFEST_BRANCH}.yaml template-wifi-tests.yaml + --template-names ${TEST_JOBS} |