auto merge of #7854 : brson/rust/rt-test-threads, r=pcwalton

This commit is contained in:
bors 2013-07-18 17:19:41 -07:00
commit f28e581268

View file

@ -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