diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-06 18:29:58 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-06 18:29:58 -0800 |
| commit | 3bd0338c19a594d538bc6dd4656c0cb8da9b9680 (patch) | |
| tree | 2e50f33f5a8259655bba7fc3cc9b35d9bd800da7 /src/compiletest | |
| parent | 5563eab22709b2fbb0d737bcf62d740217a5718a (diff) | |
Revert "log to stderr instead of stdout"
This is causing mysterious hangs on windows. Issue #1769. This reverts commit d65eabd5de4c41e4bc93b9c6c03d6278299ceb76.
Diffstat (limited to 'src/compiletest')
| -rw-r--r-- | src/compiletest/runtest.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs index 2ba4517c0e4..a3920ccb184 100644 --- a/src/compiletest/runtest.rs +++ b/src/compiletest/runtest.rs @@ -199,7 +199,7 @@ fn check_error_patterns(props: test_props, let next_err_idx = 0u; let next_err_pat = props.error_patterns[next_err_idx]; - for line: str in str::split(procres.stderr, '\n' as u8) { + for line: str in str::split(procres.stdout, '\n' as u8) { if str::find(line, next_err_pat) > 0 { #debug("found error pattern %s", next_err_pat); next_err_idx += 1u; @@ -246,7 +246,7 @@ fn check_expected_errors(expected_errors: [errors::expected_error], // filename:line1:col1: line2:col2: *warning:* msg // where line1:col1: is the starting point, line2:col2: // is the ending point, and * represents ANSI color codes. - for line: str in str::split(procres.stderr, '\n' as u8) { + for line: str in str::split(procres.stdout, '\n' as u8) { let was_expected = false; vec::iteri(expected_errors) {|i, ee| if !found_flags[i] { |
