mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Continue to run tests after passing pending test
This commit is contained in:
@@ -40,7 +40,7 @@ final class ScriptedTests(resourceBaseDirectory: File, bufferLog: Boolean, launc
|
||||
None
|
||||
} else {
|
||||
try { scriptedTest(str, testDirectory, prescripted, log); None }
|
||||
catch { case e: xsbt.test.TestException => Some(str) }
|
||||
catch { case _: xsbt.test.TestException | _: PendingTestSuccessException => Some(str) }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -92,6 +92,7 @@ final class ScriptedTests(resourceBaseDirectory: File, bufferLog: Boolean, launc
|
||||
if (!pending) throw e
|
||||
case e: PendingTestSuccessException =>
|
||||
testFailed()
|
||||
buffered.error(" Mark as passing to remove this failure.")
|
||||
throw e
|
||||
case e: Exception =>
|
||||
testFailed()
|
||||
|
||||
Reference in New Issue
Block a user