diff options
-rw-r--r-- | automated/linux/igt/igt-chamelium-test.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/automated/linux/igt/igt-chamelium-test.yaml b/automated/linux/igt/igt-chamelium-test.yaml index b372f3d..0baa962 100644 --- a/automated/linux/igt/igt-chamelium-test.yaml +++ b/automated/linux/igt/igt-chamelium-test.yaml @@ -31,3 +31,18 @@ run: - if [ -n "${TEST_LIST}" ]; then TL="-t ${TEST_LIST}"; fi - ./igt-chamelium-test.sh -c ${CHAMELIUM_IP} -h ${HDMI_DEV_NAME} -d ${IGT_DIR} ${TL} - ../../utils/send-to-lava.sh result.log + # Dump igt test result and upload artifact to Artifactorial + - ifconfig; pwd; ls + - if [ -n "`which html2text`" -a -d "/usr/share/igt-gpu-tools/results/html/" ]; then + - ls /usr/share/igt-gpu-tools/results + - echo "**********************************************"; + - echo "************ Dump IGT test result ************"; + - echo "**********************************************"; + - ls /usr/share/igt-gpu-tools/results/html/results/*|sort -r|xargs html2text; fi + - if [ -n "${ARTIFACTORIAL_TOKEN}" -a -n "${ARTIFACTORIAL_URL}" ]; then + - UPLOAD_TOOL="./automated/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 |