JAL-4110 allow configuration of stdout/err test output via -Ptest_output=1 and update...
[jalview.git] / build.gradle
index 4aa019c..d4dbcd5 100644 (file)
@@ -1851,8 +1851,9 @@ tasks.withType(Test).matching {t -> t.getName().startsWith("testTask")}.all { te
     showExceptions true
     showCauses true
     showStackTraces true
-    showStandardStreams true
-
+    if (test_output) {
+      showStandardStreams true
+    }
     info.events = [ TestLogEvent.FAILED ]
   }