about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authormcarton <cartonmartin+git@gmail.com>2016-09-08 01:10:23 +0200
committermcarton <cartonmartin+git@gmail.com>2016-09-08 01:10:23 +0200
commitdd6e3863e5525cb83ad6c02328bd5800119cdd7a (patch)
treedeedcd6ddffd8e1220428794983870ea3323f14e /src
parentcf0cdc452b3335eec4d0d5ec27e922763d9835bc (diff)
downloadrust-dd6e3863e5525cb83ad6c02328bd5800119cdd7a.tar.gz
rust-dd6e3863e5525cb83ad6c02328bd5800119cdd7a.zip
Fix ICE test in compiletest fail-tests
Diffstat (limited to 'src')
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index 228d6ada01d..ddf41872825 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -978,7 +978,7 @@ actual:\n\
 
     fn check_no_compiler_crash(&self, proc_res: &ProcRes) {
         for line in proc_res.stderr.lines() {
-            if line.starts_with("error: internal compiler error:") {
+            if line.contains("error: internal compiler error") {
                 self.fatal_proc_rec("compiler encountered internal error", proc_res);
             }
         }