Skip to content

Commit a06ce0c

Browse files
committed
compiletest: Run all android tests serially
This is an attempt to isolate test failures on the bots. It may also eliminate problems with the emulators breaking by reducing the chance of OOM.
1 parent 89b1686 commit a06ce0c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

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);

0 commit comments

Comments
 (0)