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