You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/10/24 07:10:02 UTC

incubator-groovy git commit: try to fix up Apache CI build server errors

Repository: incubator-groovy
Updated Branches:
  refs/heads/master 295842f09 -> 5f0c88b90


try to fix up Apache CI build server errors


Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/5f0c88b9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/5f0c88b9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/5f0c88b9

Branch: refs/heads/master
Commit: 5f0c88b90f77a483487e75f3d9e33f5ff225e40b
Parents: 295842f
Author: paulk <pa...@asert.com.au>
Authored: Sat Oct 24 15:09:36 2015 +1000
Committer: paulk <pa...@asert.com.au>
Committed: Sat Oct 24 15:09:36 2015 +1000

----------------------------------------------------------------------
 .../groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/5f0c88b9/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
----------------------------------------------------------------------
diff --git a/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy b/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
index 1753c85..b2cb542 100644
--- a/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
+++ b/src/test/org/codehaus/groovy/runtime/m12n/ExtensionModuleHelperForTests.groovy
@@ -69,7 +69,7 @@ public class ExtensionModuleHelperForTests {
             String out = ant.project.properties.out
             String err = ant.project.properties.err
             baseDir.deleteDir()
-            if (err) {
+            if (err && err.trim() != 'Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8') {
                 throw new RuntimeException("$err\nClasspath: ${cp.join('\n')}")
             } else if ( out.contains('FAILURES') || ! out.contains("OK")) {
                 throw new RuntimeException("$out\nClasspath: ${cp.join('\n')}")