diff options
author | Arthur <arthur.she@linaro.org> | 2020-01-15 14:15:18 -0800 |
---|---|---|
committer | Arthur <arthur.she@linaro.org> | 2020-01-15 14:15:18 -0800 |
commit | 0d949f8ec56871638434020a16f2a8a11701b1d7 (patch) | |
tree | e19864abbdfe184c2597a1f4297c6e5b46e842aa /automated/linux/igt | |
parent | 5690d9b15c773b1ec731dabdd4fc27482b557af4 (diff) |
igt: Sleep 30sec 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.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/linux/igt/igt-test.yaml b/automated/linux/igt/igt-test.yaml index f3bad8f..a097b80 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}; sleep 20; (( 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 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}" # ${CHAMELIUM_IP} is from LAVA device dictionary |