mirror of https://github.com/sbt/sbt.git
Merge pull request #28 from Duhemm/wip/scripted-pending-no-exception
Hide stacktrace upon failure on pending scripted test
This commit is contained in:
commit
818e6ba97b
|
|
@ -112,7 +112,7 @@ final class ScriptedTests(resourceBaseDirectory: File, bufferLog: Boolean, handl
|
|||
testFailed()
|
||||
e.getCause match {
|
||||
case null | _: java.net.SocketException => buffered.error(" " + e.getMessage)
|
||||
case _ => e.printStackTrace
|
||||
case _ => if (!pending) e.printStackTrace
|
||||
}
|
||||
if (!pending) throw e
|
||||
case e: PendingTestSuccessException =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue