summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvaylo Asenov <ivaylo.asenov@linaro.org>2016-09-10 11:07:48 +0300
committerIvaylo Asenov <ivaylo.asenov@linaro.org>2016-09-10 11:07:48 +0300
commit5b36fc7717a8c4f4e2586d9e8b2fcf4e924538bc (patch)
tree1aa194101fbd6e7930a63809bea674b5f91bc8d0
parent0d65ade3aa7e9059d0e5e338040631929984fbee (diff)
downloadbenchmark-5b36fc7717a8c4f4e2586d9e8b2fcf4e924538bc.tar.gz
Add sleep time in shell script before first read of isFinished.txt
Change-Id: I0ce1c9fd69edfbbb01a0df577b7a0c84f146a2e1 Signed-off-by: Ivaylo Asenov <ivaylo.asenov@linaro.org>
-rwxr-xr-xBenchmarkFramework/shellscript/runTestsFromShell.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/BenchmarkFramework/shellscript/runTestsFromShell.sh b/BenchmarkFramework/shellscript/runTestsFromShell.sh
index ae35b00..3f69e6c 100755
--- a/BenchmarkFramework/shellscript/runTestsFromShell.sh
+++ b/BenchmarkFramework/shellscript/runTestsFromShell.sh
@@ -25,6 +25,9 @@ APP_PATH="/home/users/iasenov/Documents/Linaro/BenchmarkTest"
#**********************************Functions************************
Wait(){
+ #sleep here to ensure that "0" is written to "isFinished.txt" before "while" check bellow
+ sleep 4
+
while [ $(adb shell cat data/data/org.linaro.iasenov.benchmarkframework/files/socket/isFinished.txt) -ne 1 ]
do
sleep 10