diff options
| author | Ahmed Charles <acharles@outlook.com> | 2016-08-12 23:45:39 -0700 |
|---|---|---|
| committer | Ahmed Charles <acharles@outlook.com> | 2016-08-12 23:52:35 -0700 |
| commit | 08e470f9e12a84307b0689ee06d3420c1854fd37 (patch) | |
| tree | 07475ad3062e378d81236fef39be5f32e2ed70ea /src | |
| parent | d3c3de8abe63f738113874267dad3b92a1965ecd (diff) | |
| download | rust-08e470f9e12a84307b0689ee06d3420c1854fd37.tar.gz rust-08e470f9e12a84307b0689ee06d3420c1854fd37.zip | |
compiletest: Remove dead code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index ae8e82e4e2f..e9ccc029bc3 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -137,10 +137,6 @@ impl<'test> TestCx<'test> { self.check_correct_failure_status(&proc_res); - if proc_res.status.success() { - self.fatal("process did not return an error status"); - } - let output_to_check = self.get_output(&proc_res); let expected_errors = errors::load_errors(&self.testpaths.file, self.revision); if !expected_errors.is_empty() { |
