From 8f5b0ef42808e15bbe8ff25d0dc494a4d1625948 Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Fri, 26 Nov 2010 12:42:20 +0000 Subject: You shall not pass the testing stage when abort... You shall not pass the testing stage when abort crashes the resident compiler. previously it succeeded even though the error message was printed. Review by phaller --- src/partest/scala/tools/partest/nest/Worker.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala index 3fba5ff39e..cac6f2dafa 100644 --- a/src/partest/scala/tools/partest/nest/Worker.scala +++ b/src/partest/scala/tools/partest/nest/Worker.scala @@ -825,8 +825,8 @@ class Worker(val fileManager: FileManager, params: TestRunParams) extends Actor diffCheck(compareOutput(dir, fileBase, kind, logFile)) } catch { - case e: Exception => - e.printStackTrace() + case e => + e.printStackTrace() succeeded = false } -- cgit v1.2.3