diff options
author | Arthur <arthur.she@linaro.org> | 2019-10-15 11:06:16 -0700 |
---|---|---|
committer | Arthur <arthur.she@linaro.org> | 2019-10-15 11:06:16 -0700 |
commit | 1eee69480cc3dfe7126be491db9815d9416a81ca (patch) | |
tree | bd80ac9f7a06baad3f687943d7462ce784b61c54 /automated/linux/igt/igt-chamelium-test-git-clone-test.yaml | |
parent | 2cdb72e97a12577643e300ecc1190be700023c04 (diff) |
igt: Add igt-chamelium-test-git-clone-test.yaml for testing git clone
time
Diffstat (limited to 'automated/linux/igt/igt-chamelium-test-git-clone-test.yaml')
-rw-r--r-- | automated/linux/igt/igt-chamelium-test-git-clone-test.yaml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/automated/linux/igt/igt-chamelium-test-git-clone-test.yaml b/automated/linux/igt/igt-chamelium-test-git-clone-test.yaml new file mode 100644 index 0000000..4946df6 --- /dev/null +++ b/automated/linux/igt/igt-chamelium-test-git-clone-test.yaml @@ -0,0 +1,48 @@ +metadata: + format: Lava-Test Test Definition 1.0 + name: igt-chamelium-test + description: "Run igt-gpu-tools with Chamelium for pixel formats testing" + maintainer: + - arthur.she@linaro.org + os: + - debian + - ubuntu + - openembedded + scope: + - functional + devices: + - dragonboard-410c + - x15 + +params: + HDMI_DEV_NAME: "HDMI-A-1" + IGT_DIR: "/igt-gpu-tools" + # If TEST_LIST is not assigned, it will generate it with all + # Chanelium HDMI related tests + #TEST_LIST: "tests/vc4_ci/vc4-chamelium.testlist" + TEST_LIST: "" + TL: "" + ARTIFACTORIAL_URL: "" + ARTIFACTORIAL_TOKEN: "" + GIT_CLONE_HTTPS: "True" + +run: + steps: + - cd ./automated/linux/igt + - if [ -n "${TEST_LIST}" ]; then TL="-t ${TEST_LIST}"; fi + - if [ "${GIT_CLONE_HTTPS}" != "True" ]; then git config --global http.sslverify false; fi + # ${CHAMELIUM_IP} is from LAVA device dictionary + - ./igt-chamelium-test.sh -c ${CHAMELIUM_IP} -h ${HDMI_DEV_NAME} -d ${IGT_DIR} ${TL} + # Dump igt test result and upload artifact to Artifactorial + - ifconfig; pwd; ls -l + - echo "**********************************************"; + - echo "************ Dump IGT test result ************"; + - echo "**********************************************"; + - bzcat /usr/share/igt-gpu-tools/results/results.json.bz2 | python print-test-result.py + - if [ -n "${ARTIFACTORIAL_TOKEN}" -a -n "${ARTIFACTORIAL_URL}" ]; then + - UPLOAD_TOOL="../../utils/upload-to-artifactorial.sh" + - if [ -d "/root/dump-frames/" -a -n "`ls /root/dump-frames/`" ]; then echo "Got error frames.." ; tar -C /root -zcf dump-frames.tar.gz dump-frames/; + - echo "*********************************************"; + - echo "************ Upload dump frames *************"; + - echo "*********************************************"; + - ${UPLOAD_TOOL} -a "dump-frames.tar.gz" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"; fi; fi |