auto merge of #7854 : brson/rust/rt-test-threads, r=pcwalton
This commit is contained in:
commit
f28e581268
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ pub fn run_in_mt_newsched_task(f: ~fn()) {
|
|||
let f_cell = Cell::new(f);
|
||||
|
||||
do run_in_bare_thread {
|
||||
let nthreads = match os::getenv("RUST_TEST_THREADS") {
|
||||
let nthreads = match os::getenv("RUST_RT_TEST_THREADS") {
|
||||
Some(nstr) => FromStr::from_str(nstr).get(),
|
||||
None => {
|
||||
// Using more threads than cores in test code
|
||||
|
|
Loading…
Reference in a new issue