From dd6e3863e5525cb83ad6c02328bd5800119cdd7a Mon Sep 17 00:00:00 2001 From: mcarton Date: Thu, 8 Sep 2016 01:10:23 +0200 Subject: [PATCH] Fix ICE test in compiletest fail-tests --- src/tools/compiletest/src/runtest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }