diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-11-26 12:42:20 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-11-26 12:42:20 +0000 |
commit | 8f5b0ef42808e15bbe8ff25d0dc494a4d1625948 (patch) | |
tree | f22de7c1782ca4d726a35251b5e7e6b28b4c3557 | |
parent | 794324a73f4e143835bd164978a8517482a4b672 (diff) | |
download | scala-8f5b0ef42808e15bbe8ff25d0dc494a4d1625948.tar.gz scala-8f5b0ef42808e15bbe8ff25d0dc494a4d1625948.tar.bz2 scala-8f5b0ef42808e15bbe8ff25d0dc494a4d1625948.zip |
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
-rw-r--r-- | src/partest/scala/tools/partest/nest/Worker.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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 } |