Continue to run tests after passing pending test

This commit is contained in:
Martin Duhem
2015-08-19 08:26:21 +02:00
parent 1b2750be7a
commit bce77a1ecc
@@ -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()