diff options
author | Philipp Haller <hallerp@gmail.com> | 2010-04-12 20:41:46 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2010-04-12 20:41:46 +0000 |
commit | 0721367ab2eab55008422a91ff22d41b02d840dc (patch) | |
tree | f05b1b894096cc0e5ccca15a2508b9626b8f9f1f | |
parent | c1f1a2cfdf0b0c99c019c855a7e9c47e0c850711 (diff) | |
download | scala-0721367ab2eab55008422a91ff22d41b02d840dc.tar.gz scala-0721367ab2eab55008422a91ff22d41b02d840dc.tar.bz2 scala-0721367ab2eab55008422a91ff22d41b02d840dc.zip |
Another attempt at avoiding partest hang ups wh...
Another attempt at avoiding partest hang ups when the compiler crashes.
Review by extempore.
-rw-r--r-- | src/partest/scala/tools/partest/Compilable.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/Compilable.scala b/src/partest/scala/tools/partest/Compilable.scala index d7365c1620..6703d8a803 100644 --- a/src/partest/scala/tools/partest/Compilable.scala +++ b/src/partest/scala/tools/partest/Compilable.scala @@ -82,8 +82,9 @@ trait PartestCompilation { def partestCompile(files: List[String], printSummary: Boolean): Boolean = { try { new Run compile files } catch { - case FatalError(msg) => creporter.error(null, "fatal error: " + msg) + case FatalError(msg) => creporter.error(null, "fatal error: " + msg) case ae: AssertionError => creporter.error(null, ""+ae) + case te: TypeError => creporter.error(null, ""+te) } if (printSummary) |