File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ use std::io::fs;
3030use std:: from_str:: FromStr ;
3131use getopts:: { optopt, optflag, reqopt} ;
3232use common:: Config ;
33- use common:: { Pretty , DebugInfoGdb , Codegen } ;
33+ use common:: { Pretty , DebugInfoGdb , DebugInfoLldb , Codegen } ;
3434use util:: logv;
3535use regex:: Regex ;
3636
@@ -241,6 +241,16 @@ pub fn run_tests(config: &Config) {
241241 os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
242242 }
243243
244+ match config. mode {
245+ DebugInfoLldb => {
246+ // Some older versions of LLDB seem to have problems with multiple
247+ // instances running in parallel, so only run one test task at a
248+ // time.
249+ os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
250+ }
251+ _ => { /* proceed */ }
252+ }
253+
244254 let opts = test_opts ( config) ;
245255 let tests = make_tests ( config) ;
246256 // sadly osx needs some file descriptor limits raised for running tests in
You can’t perform that action at this time.
0 commit comments