diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-05-10 22:02:59 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-05-13 17:24:08 -0700 |
| commit | f912005ef34c8adfc2b0827f2d1e353e1508d3d0 (patch) | |
| tree | ddcdd06025c8f4e921978959b956fdb98896be27 /src | |
| parent | d92b9ae7164a73e7c9e44a229d0e1eddbe8121cf (diff) | |
| download | rust-f912005ef34c8adfc2b0827f2d1e353e1508d3d0.tar.gz rust-f912005ef34c8adfc2b0827f2d1e353e1508d3d0.zip | |
test: Give a test a bigger stack for pretty printing
Diffstat (limited to 'src')
| -rw-r--r-- | src/compiletest/runtest.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/super-fast-paren-parsing.rs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index d7fa4f209d4..29f7a771e86 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -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, diff --git a/src/test/run-pass/super-fast-paren-parsing.rs b/src/test/run-pass/super-fast-paren-parsing.rs index 759b066c8db..1204efc29eb 100644 --- a/src/test/run-pass/super-fast-paren-parsing.rs +++ b/src/test/run-pass/super-fast-paren-parsing.rs @@ -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 = ((((((((((((((((((((((((((((((((((((((((((((((((((( ((((((((((((((((((((((((((((((((((((((((((((((((((( |
