Text Selection Handlers not updated with the correct position
[framework/web/webkit-efl.git] / TizenScripts / tizen-memorytest / wrt-run
1 #!/bin/sh
2
3 if [ $# -ne 1 ]; then
4   echo 'Usage: wrt-run applist'
5   exit
6 fi
7
8 applist=$1
9
10 LOG=/tmp/webkit_memory
11
12 for app in `cat $applist`; do
13   echo -n $app
14   aul_test launch $app
15   pid=`pgrep $app`
16   sleep 5
17   while true; do
18     echo -n .
19     if kill -0 $pid 2>/dev/null; then
20       break
21     fi
22     sleep 1
23   done
24   aul_test term_pid $pid
25   sleep 1
26   echo
27   if [ ! -f $LOG ]; then
28     break
29   fi
30 done