git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
904f57a
)
JAL-3599 More stderr/stdout output to logs when anything
author
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 9 Jun 2023 09:48:43 +0000
(10:48 +0100)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Fri, 9 Jun 2023 09:48:43 +0000
(10:48 +0100)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
7fa55c0
..
6517f43
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-4265,6
+4265,11
@@
task jalviewjsLaunchTest(type: Exec) {
errorOutput = new ByteArrayOutputStream()
doLast {
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 ->
def found = false
def stderr = errorOutput.toString()
stderr.eachLine { line ->
@@
-4275,10
+4280,6
@@
task jalviewjsLaunchTest(type: Exec) {
}
}
if (!found) {
}
}
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.")
}
throw new GradleException("Could not find evidence of Desktop launch in JalviewJS.")
}