From: Ben Soares Date: Fri, 9 Jun 2023 09:48:43 +0000 (+0100) Subject: JAL-3599 More stderr/stdout output to logs when anything X-Git-Tag: Release_2_11_4_0~213^2~16 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=be8d1428f129ec7d39e353717bf8756805d1e803;p=jalview.git JAL-3599 More stderr/stdout output to logs when anything --- diff --git a/build.gradle b/build.gradle index 7fa55c0..6517f43 100644 --- a/build.gradle +++ b/build.gradle @@ -4265,6 +4265,11 @@ task jalviewjsLaunchTest(type: Exec) { errorOutput = new ByteArrayOutputStream() doLast { + println("Chrome STDOUT: ") + println(standardOutput.toString()) + println("Chrome STDERR: ") + println(errorOutput.toString()) + def found = false def stderr = errorOutput.toString() stderr.eachLine { line -> @@ -4275,10 +4280,6 @@ task jalviewjsLaunchTest(type: Exec) { } } if (!found) { - println("Chrome STDOUT: ") - println(standardOutput.toString()) - println("Chrome STDERR: ") - println(errorOutput.toString()) throw new GradleException("Could not find evidence of Desktop launch in JalviewJS.") }