File tree 1 file changed +11
-1
lines changed
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;
30
30
use std:: from_str:: FromStr ;
31
31
use getopts:: { optopt, optflag, reqopt} ;
32
32
use common:: Config ;
33
- use common:: { Pretty , DebugInfoGdb , Codegen } ;
33
+ use common:: { Pretty , DebugInfoGdb , DebugInfoLldb , Codegen } ;
34
34
use util:: logv;
35
35
use regex:: Regex ;
36
36
@@ -241,6 +241,16 @@ pub fn run_tests(config: &Config) {
241
241
os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
242
242
}
243
243
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
+
244
254
let opts = test_opts ( config) ;
245
255
let tests = make_tests ( config) ;
246
256
// sadly osx needs some file descriptor limits raised for running tests in
You can’t perform that action at this time.
0 commit comments