git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3599 More stderr/stdout output to logs when anything
[jalview.git]
/
build.gradle
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.")
}