File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
branches/snap-stage3/src/etc Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: e3b1f3c443c048913e2d573fcc5a9c2be3484a78
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: a06ce0c91fac04c74a76b8fdcf89c19407af8e6a
4
+ refs/heads/snap-stage3: 67841793522889a9cbcb93ab066ff3b744499e7d
5
5
refs/heads/try: a97642026c18a624ff6ea01075dd9550f8ed07ff
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change 2
2
# usage : adb_run_wrapper [test dir - where test executables exist] [test executable]
3
3
#
4
4
5
- # Sometimes android shell produce exitcode "1 : Text File Busy"
6
- # Retry after $WAIT seconds, expecting resource cleaned-up
7
- WAIT=10
8
5
TEST_PATH=$1
9
6
BIN_PATH=/system/bin
10
7
if [ -d " $TEST_PATH " ]
16
13
then
17
14
shift
18
15
19
- L_RET=1
20
- L_COUNT=0
21
16
cd $TEST_PATH
22
- while [ $L_RET -eq 1 ]
23
- do
24
- TEST_EXEC_ENV=22 LD_LIBRARY_PATH=$TEST_PATH PATH=$BIN_PATH :$TEST_PATH $TEST_PATH /$RUN $@ 1> $TEST_PATH /$RUN .stdout 2> $TEST_PATH /$RUN .stderr
25
- L_RET=$?
26
- if [ $L_COUNT -gt 0 ]
27
- then
28
- /system/bin/sleep $WAIT
29
- /system/bin/sync
30
- fi
31
- L_COUNT=$(( L_COUNT+ 1 ))
32
- done
17
+ TEST_EXEC_ENV=22 LD_LIBRARY_PATH=$TEST_PATH PATH=$BIN_PATH :$TEST_PATH $TEST_PATH /$RUN $@ 1> $TEST_PATH /$RUN .stdout 2> $TEST_PATH /$RUN .stderr
18
+ L_RET=$?
33
19
34
20
echo $L_RET > $TEST_PATH /$RUN .exitcode
35
21
You can’t perform that action at this time.
0 commit comments