test: Give a test a bigger stack for pretty printing

This commit is contained in:
Alex Crichton 2014-05-10 22:02:59 -07:00
parent d92b9ae716
commit f912005ef3
2 changed files with 5 additions and 1 deletions

View File

@ -217,7 +217,7 @@ fn run_pretty_test(config: &Config, props: &TestProps, testfile: &Path) {
pretty_type: &str) -> ProcRes {
compose_and_run(config, testfile,
make_pp_args(config, props, testfile, pretty_type.to_owned()),
Vec::new(), config.compile_lib_path, Some(src))
props.exec_env.clone(), config.compile_lib_path, Some(src))
}
fn make_pp_args(config: &Config,

View File

@ -8,6 +8,10 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// exec-env:RUST_MIN_STACK=8000000
//
// Big stack is needed for pretty printing, a little sad...
static a: int =
(((((((((((((((((((((((((((((((((((((((((((((((((((
(((((((((((((((((((((((((((((((((((((((((((((((((((