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 @@ -25,7 +25,7 @@ use std::io::fs;
2525use std:: from_str:: FromStr ;
2626use getopts:: { optopt, optflag, reqopt} ;
2727use common:: Config ;
28- use common:: { Pretty , DebugInfoGdb , Codegen } ;
28+ use common:: { Pretty , DebugInfoGdb , DebugInfoLldb , Codegen } ;
2929use util:: logv;
3030use regex:: Regex ;
3131
@@ -244,6 +244,16 @@ pub fn run_tests(config: &Config) {
244244 os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
245245 }
246246
247+ match config. mode {
248+ DebugInfoLldb => {
249+ // Some older versions of LLDB seem to have problems with multiple
250+ // instances running in parallel, so only run one test task at a
251+ // time.
252+ os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
253+ }
254+ _ => { /* proceed */ }
255+ }
256+
247257 let opts = test_opts ( config) ;
248258 let tests = make_tests ( config) ;
249259 // sadly osx needs some file descriptor limits raised for running tests in
You can’t perform that action at this time.
0 commit comments