aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/igt/igt-chamelium-test.yaml
diff options
context:
space:
mode:
authorArthur <arthur.she@linaro.org>2019-09-18 17:56:22 -0700
committerArthur <arthur.she@linaro.org>2019-09-18 17:56:22 -0700
commit2a115fef8e8e4cea32dac2bf58c29019cd2ccf86 (patch)
tree6520672345c6cf6b0ddd4b119d54bd3079f431c8 /automated/linux/igt/igt-chamelium-test.yaml
parent4831c3f1d7acd3a537815fb36a78d4f1a56026e5 (diff)
igt: get Chamelium IP address from shell environment variable
Now we already have LAVA support allowing test shell to query device dictionary. So the DUT can get the paired Chamelium IP address from shell environment variable ${CHAMELIUM_STATIC_IP} Signed-off-by: Arthur <arthur.she@linaro.org>
Diffstat (limited to 'automated/linux/igt/igt-chamelium-test.yaml')
-rw-r--r--automated/linux/igt/igt-chamelium-test.yaml8
1 files changed, 3 insertions, 5 deletions
diff --git a/automated/linux/igt/igt-chamelium-test.yaml b/automated/linux/igt/igt-chamelium-test.yaml
index 4965b66..e8a9626 100644
--- a/automated/linux/igt/igt-chamelium-test.yaml
+++ b/automated/linux/igt/igt-chamelium-test.yaml
@@ -15,7 +15,6 @@ metadata:
- x15
params:
- CHAMELIUM_IP: "192.168.29.200"
HDMI_DEV_NAME: "HDMI-A-1"
IGT_DIR: "/igt-gpu-tools"
# If TEST_LIST is not assigned, it will generate it with all
@@ -31,15 +30,14 @@ run:
- cd ./automated/linux/igt
- git config --global http.sslverify false
- if [ -n "${TEST_LIST}" ]; then TL="-t ${TEST_LIST}"; fi
+ # ${CHAMELIUM_STATIC_IP} is from LAVA device dictionary
+ - CHAMELIUM_IP=`echo ${CHAMELIUM_STATIC_IP}`
- ./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
-# - 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
- 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"
@@ -48,4 +46,4 @@ run:
- echo "************ Upload dump frames *************";
- echo "*********************************************";
- ${UPLOAD_TOOL} -a "dump-frames.tar.gz" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"; fi; fi
-# - ../../utils/send-to-lava.sh result.log
+ - ../../utils/send-to-lava.sh result.log