aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/igt
diff options
context:
space:
mode:
authorArthur <arthur.she@linaro.org>2020-01-15 14:12:17 -0800
committerArthur <arthur.she@linaro.org>2020-01-15 14:12:17 -0800
commit5690d9b15c773b1ec731dabdd4fc27482b557af4 (patch)
tree514cf0914d5cb81c846363d2ceceadfe44208bc0 /automated/linux/igt
parent2d9e4ba5efb06f432dabd16a9184f64501166086 (diff)
igt: sleep 20 sec after reboot Chamelium
Signed-off-by: Arthur <arthur.she@linaro.org>
Diffstat (limited to 'automated/linux/igt')
-rw-r--r--automated/linux/igt/igt-test.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/igt/igt-test.yaml b/automated/linux/igt/igt-test.yaml
index c0bf257..f3bad8f 100644
--- a/automated/linux/igt/igt-test.yaml
+++ b/automated/linux/igt/igt-test.yaml
@@ -28,7 +28,7 @@ run:
- cd ./automated/linux/igt
# Check if Chamelium is available
- CHAMELIUM_REBOOT_ARG=`echo ${CHAMELIUM_REBOOT}|awk '{$1=""; print $0}'`
- - while [ ${CHAMELIUM_PING_RETRY} -gt 0 ]; do PC=`ping -c 2 ${CHAMELIUM_IP}|grep '100% packet loss'`; if [ -n "${PC}" ]; then ./control_chamelium.py ${CHAMELIUM_REBOOT_ARG}; (( CHAMELIUM_PING_RETRY-- )); else break; fi; done
+ - while [ ${CHAMELIUM_PING_RETRY} -gt 0 ]; do PC=`ping -c 2 ${CHAMELIUM_IP}|grep '100% packet loss'`; if [ -n "${PC}" ]; then ./control_chamelium.py ${CHAMELIUM_REBOOT_ARG}; sleep 20; (( 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}"
# ${CHAMELIUM_IP} is from LAVA device dictionary