aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/igt
diff options
context:
space:
mode:
authorArthur <arthur.she@linaro.org>2020-01-15 09:36:19 -0800
committerArthur <arthur.she@linaro.org>2020-01-15 09:36:19 -0800
commit1d0668195b1620c9b0640212adeac4955844eaf7 (patch)
treea1f68267b4f69261adee6afa73d95fbd43902c22 /automated/linux/igt
parente86e152c7215e60913eeda923697d1c3bbad5493 (diff)
igt: update
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 02ad7f1..863e1b8 100644
--- a/automated/linux/igt/igt-test.yaml
+++ b/automated/linux/igt/igt-test.yaml
@@ -29,7 +29,7 @@ run:
# Check if Chamelium is available
- CHAMELIUM_REBOOT_ARG=`echo ${CHAMELIUM_REBOOT}|awk '{$1=""; print $0}'`
- while [ ${CHAMELIUM_PING_RETRY} -gt 0 ]; do ping -c 2 ${CHAMELIUM_IP}; if [ $? -ne 0 ]; then ./control_chamelium.py ${CHAMELIUM_REBOOT_ARG}; (( CHAMELIUM_PING_RETRY-- )); else break; fi; done
- - [ ${CHAMELIUM_PING_RETRY} -gt 0 ] && lava-test-case "Ping-Chamelium" --result pass || lava-test-raise "Ping-Chamelium"
+ - 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
- if [ -n "${CHAMELIUM_IP}" ]; then OPT="${OPT} -c ${CHAMELIUM_IP}"; fi