summaryrefslogtreecommitdiff
path: root/src/partest
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-07-19 07:36:20 -0700
committerPaul Phillips <paulp@improving.org>2012-07-19 07:36:21 -0700
commite200a8e3ffe10eb132c2cc0f5038cc42ce89414c (patch)
treeead07f4ce76e35ebffbbe34ad9a18e00e36aec84 /src/partest
parenta40a90fc33b6ba6fbc042cbf2f69f46a66417e2f (diff)
downloadscala-e200a8e3ffe10eb132c2cc0f5038cc42ce89414c.tar.gz
scala-e200a8e3ffe10eb132c2cc0f5038cc42ce89414c.tar.bz2
scala-e200a8e3ffe10eb132c2cc0f5038cc42ce89414c.zip
Print the stack trace.
We're not completely blind in there, are we.
Diffstat (limited to 'src/partest')
-rw-r--r--src/partest/scala/tools/partest/nest/DirectRunner.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/DirectRunner.scala b/src/partest/scala/tools/partest/nest/DirectRunner.scala
index 86c790f9dd..c254472342 100644
--- a/src/partest/scala/tools/partest/nest/DirectRunner.scala
+++ b/src/partest/scala/tools/partest/nest/DirectRunner.scala
@@ -61,8 +61,9 @@ trait DirectRunner {
pool.shutdown()
try if (!pool.awaitTermination(4, TimeUnit.HOURS))
NestUI.warning("Thread pool timeout elapsed before all tests were complete!")
- catch { case _: InterruptedException =>
+ catch { case t: InterruptedException =>
NestUI.warning("Thread pool was interrupted")
+ t.printStackTrace()
}
for ((file, future) <- futures) yield {