diff options
author | Arthur <arthur.she@linaro.org> | 2020-02-04 10:45:32 -0800 |
---|---|---|
committer | Arthur <arthur.she@linaro.org> | 2020-02-04 10:45:32 -0800 |
commit | 8131404642a5dbf7aa10ccf0e93d47c7dbbf848b (patch) | |
tree | c6d044604b6111b5bccb0aeced9fa53e95db6811 /automated/linux/igt | |
parent | e1ed6c1fdc73479bdce49fe9bdfbf65be12b7c22 (diff) |
igt: Showing Chamelium uboot console lock status
Signed-off-by: Arthur <arthur.she@linaro.org>
Diffstat (limited to 'automated/linux/igt')
-rw-r--r-- | automated/linux/igt/igt-test.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/automated/linux/igt/igt-test.yaml b/automated/linux/igt/igt-test.yaml index 48e9b6e..c875523 100644 --- a/automated/linux/igt/igt-test.yaml +++ b/automated/linux/igt/igt-test.yaml @@ -27,10 +27,11 @@ run: steps: - cd ./automated/linux/igt # Check if Chamelium is available - - if [ -n "${CHAMELIUM_REBOOT}" ]; then CHAMELIUM_REBOOT_ARG=`echo ${CHAMELIUM_REBOOT} | awk '{$1=""; print $0}'`; fi - while [ ${CHAMELIUM_PING_RETRY} -gt 0 ]; do PC=`ping -c 2 ${CHAMELIUM_IP}|grep '100% packet loss'`||true; if [ -n "${PC}" ]; then ./control_chamelium.py ${CHAMELIUM_REBOOT_ARG}; sleep 30; (( CHAMELIUM_PING_RETRY-- )); else break; fi; done - test ${CHAMELIUM_PING_RETRY} -gt 0 && lava-test-case "Ping-Chamelium" --result pass || lava-test-raise "Ping-Chamelium" - OPT="-d ${IGT_DIR} -t ${TEST_LIST}" + # Check Chamelium uboot console status + - ssh root@${CHAMELIUM_IP} /usr/bin/lock_u_boot_console # ${CHAMELIUM_IP} is from LAVA device dictionary - if [ -n "${CHAMELIUM_IP}" ]; then OPT="${OPT} -c ${CHAMELIUM_IP}"; fi - if [ -n "${HDMI_DEV_NAME}" ]; then OPT="${OPT} -h ${HDMI_DEV_NAME}"; fi |