File tree Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Expand file tree Collapse file tree 2 files changed +7
-19
lines changed Original file line number Diff line number Diff line change @@ -219,12 +219,14 @@ pub fn run_tests(config: &config) {
219219 mode_debug_info => {
220220 println ! ( "arm-linux-androideabi debug-info \
221221 test uses tcp 5039 port. please reserve it") ;
222- //arm-linux-androideabi debug-info test uses remote debugger
223- //so, we test 1 task at once
224- os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
225222 }
226223 _ =>{ }
227224 }
225+
226+ //arm-linux-androideabi debug-info test uses remote debugger
227+ //so, we test 1 task at once.
228+ // also trying to isolate problems with adb_run_wrapper.sh ilooping
229+ os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
228230 }
229231
230232 let opts = test_opts ( config) ;
Original file line number Diff line number Diff line change 22# usage : adb_run_wrapper [test dir - where test executables exist] [test executable]
33#
44
5- # Sometimes android shell produce exitcode "1 : Text File Busy"
6- # Retry after $WAIT seconds, expecting resource cleaned-up
7- WAIT=10
85TEST_PATH=$1
96BIN_PATH=/system/bin
107if [ -d " $TEST_PATH " ]
1613 then
1714 shift
1815
19- L_RET=1
20- L_COUNT=0
2116 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=$?
3319
3420 echo $L_RET > $TEST_PATH /$RUN .exitcode
3521
You can’t perform that action at this time.
0 commit comments