Skip to content

Commit

Permalink
debuginfo: Set RUST_TEST_TASKS to 1 again for LLDB tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwoerister committed Oct 26, 2014
1 parent cb943b7 commit ca0446d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/compiletest/compiletest.rs
Expand Up @@ -25,7 +25,7 @@ use std::io::fs;
use std::from_str::FromStr;
use getopts::{optopt, optflag, reqopt};
use common::Config;
use common::{Pretty, DebugInfoGdb, Codegen};
use common::{Pretty, DebugInfoGdb, DebugInfoLldb, Codegen};
use util::logv;
use regex::Regex;

Expand Down Expand Up @@ -244,6 +244,16 @@ pub fn run_tests(config: &Config) {
os::setenv("RUST_TEST_TASKS","1");
}

match config.mode {
DebugInfoLldb => {
// Some older versions of LLDB seem to have problems with multiple
// instances running in parallel, so only run one test task at a
// time.
os::setenv("RUST_TEST_TASKS", "1");
}
_ => { /* proceed */ }
}

let opts = test_opts(config);
let tests = make_tests(config);
// sadly osx needs some file descriptor limits raised for running tests in
Expand Down

9 comments on commit ca0446d

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 26, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at michaelwoerister@ca0446d

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 26, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging michaelwoerister/rust/lldb-test-versioning = ca0446d into auto

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 26, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

michaelwoerister/rust/lldb-test-versioning = ca0446d merged ok, testing candidate = ef3bd004

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at michaelwoerister@ca0446d

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging michaelwoerister/rust/lldb-test-versioning = ca0446d into auto

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

michaelwoerister/rust/lldb-test-versioning = ca0446d merged ok, testing candidate = a0efafb

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on ca0446d Oct 27, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = a0efafb

Please sign in to comment.