From 835af9b140c069f7b8fa581718081a68687d02d2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Jun 2017 17:19:03 +0300 Subject: Add some delays in run tests in screen shot still not created. --- tools/ci/scripts/runtest.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'tools/ci') diff --git a/tools/ci/scripts/runtest.sh b/tools/ci/scripts/runtest.sh index 0ba3ff5c7..c6cc8adf6 100755 --- a/tools/ci/scripts/runtest.sh +++ b/tools/ci/scripts/runtest.sh @@ -61,12 +61,18 @@ function send_command { function check_exists { if [ ! -f "logs/home/Desktop/ManaPlus/$1" ]; then - echo "Error: image $1 not exists" - exit 1 + sleep 10s + if [ ! -f "logs/home/Desktop/ManaPlus/$1" ]; then + echo "Error: image $1 not exists" + exit 1 + fi fi if [ ! -f "logs/home/Desktop/ManaPlus/$2" ]; then - echo "Error: image $2 not exists" - exit 1 + sleep 10s + if [ ! -f "logs/home/Desktop/ManaPlus/$2" ]; then + echo "Error: image $2 not exists" + exit 1 + fi fi } -- cgit v1.2.3-70-g09d2