about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2014-02-13 21:17:02 -0800
committerBrian Anderson <banderson@mozilla.com>2014-02-13 21:17:02 -0800
commita06ce0c91fac04c74a76b8fdcf89c19407af8e6a (patch)
tree718f4e60386cdc815f1ac1da304f724810b50195
parent89b1686bd7db25b5dd948b1a4d9dfd0c68084c29 (diff)
downloadrust-a06ce0c91fac04c74a76b8fdcf89c19407af8e6a.tar.gz
rust-a06ce0c91fac04c74a76b8fdcf89c19407af8e6a.zip
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.
-rw-r--r--src/compiletest/compiletest.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs
index 5530c3b9086..970ee535e0b 100644
--- a/src/compiletest/compiletest.rs
+++ b/src/compiletest/compiletest.rs
@@ -219,12 +219,14 @@ pub fn run_tests(config: &config) {
             mode_debug_info => {
                 println!("arm-linux-androideabi debug-info \
                          test uses tcp 5039 port. please reserve it");
-                //arm-linux-androideabi debug-info test uses remote debugger
-                //so, we test 1 task at once
-                os::setenv("RUST_TEST_TASKS","1");
             }
             _ =>{}
         }
+
+        //arm-linux-androideabi debug-info test uses remote debugger
+        //so, we test 1 task at once.
+        // also trying to isolate problems with adb_run_wrapper.sh ilooping
+        os::setenv("RUST_TEST_TASKS","1");
     }
 
     let opts = test_opts(config);