Skip to content

Commit 080d316

Browse files
committed
---
yaml --- r: 149191 b: refs/heads/try2 c: 2fe7bfe h: refs/heads/master i: 149189: d3a03e6 149187: 90092c2 149183: bda1f84 v: v3
1 parent d22882b commit 080d316

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: a02b10a0621adfe36eb3cc2e46f45fc7ccdb7ea2
8+
refs/heads/try2: 2fe7bfe4d2de9942449d3656317e66bc9ec50204
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/compiletest/compiletest.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

branches/try2/src/etc/adb_run_wrapper.sh

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
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
85
TEST_PATH=$1
96
BIN_PATH=/system/bin
107
if [ -d "$TEST_PATH" ]
@@ -16,20 +13,9 @@ then
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

0 commit comments

Comments
 (0)