2 # usage : adb_run_wrapper [test dir - where test executables exist] [test executable]
5 # Sometimes android shell produce exitcode "1 : Text File Busy"
6 # Retry after $WAIT seconds, expecting resource cleaned-up
21 while [ $L_RET -eq 1 ]
23 TEST_EXEC_ENV=22 LD_LIBRARY_PATH=$PATH $PATH/$RUN $@ 1>$PATH/$RUN.stdout 2>$PATH/$RUN.stderr
27 /system/bin/sleep $WAIT
30 L_COUNT=$((L_COUNT+1))
33 echo $L_RET > $PATH/$RUN.exitcode