From: Ben Soares Date: Sat, 29 Apr 2023 23:29:12 +0000 (+0100) Subject: JAL-629 Only log to console FAILED tests X-Git-Tag: Release_2_11_4_0~355 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=e4836e2962aacab1c97c2a9706a72d6d0ac6b2a8;p=jalview.git JAL-629 Only log to console FAILED tests --- diff --git a/build.gradle b/build.gradle index fd6064e..6a622c3 100644 --- a/build.gradle +++ b/build.gradle @@ -1812,17 +1812,21 @@ tasks.withType(Test).matching {t -> t.getName().startsWith("testTask")}.all { te testTask.mustRunAfter "testTask0" testTask.testLogging { logging -> - events TestLogEvent.FAILED, - TestLogEvent.SKIPPED, - TestLogEvent.STANDARD_OUT, - TestLogEvent.STANDARD_ERROR + events TestLogEvent.FAILED +// TestLogEvent.SKIPPED, +// TestLogEvent.STANDARD_OUT, +// TestLogEvent.STANDARD_ERROR exceptionFormat TestExceptionFormat.FULL showExceptions true showCauses true showStackTraces true + + info.events = [ TestLogEvent.FAILED ] } + + ignoreFailures = true // Always try to run all tests for all modules afterSuite { desc, result ->