summaryrefslogtreecommitdiff
path: root/src/partest
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-11-26 12:42:20 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-11-26 12:42:20 +0000
commit8f5b0ef42808e15bbe8ff25d0dc494a4d1625948 (patch)
treef22de7c1782ca4d726a35251b5e7e6b28b4c3557 /src/partest
parent794324a73f4e143835bd164978a8517482a4b672 (diff)
downloadscala-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
Diffstat (limited to 'src/partest')
-rw-r--r--src/partest/scala/tools/partest/nest/Worker.scala4
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
}