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 @@ -25,7 +25,7 @@ use std::io::fs;
25
25
use std:: from_str:: FromStr ;
26
26
use getopts:: { optopt, optflag, reqopt} ;
27
27
use common:: Config ;
28
- use common:: { Pretty , DebugInfoGdb , Codegen } ;
28
+ use common:: { Pretty , DebugInfoGdb , DebugInfoLldb , Codegen } ;
29
29
use util:: logv;
30
30
use regex:: Regex ;
31
31
@@ -244,6 +244,16 @@ pub fn run_tests(config: &Config) {
244
244
os:: setenv ( "RUST_TEST_TASKS" , "1" ) ;
245
245
}
246
246
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
+
247
257
let opts = test_opts ( config) ;
248
258
let tests = make_tests ( config) ;
249
259
// sadly osx needs some file descriptor limits raised for running tests in
You can’t perform that action at this time.
0 commit comments