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 15:43:25 UTC
[15/18] incubator-groovy git commit:
GrapeIvyTest#testClassifierWithConf always fails on http://builds.apache.org/
on Windows so skip it there
GrapeIvyTest#testClassifierWithConf always fails on http://builds.apache.org/ on Windows so skip it there
Project: http://git-wip-us.apache.org/repos/asf/incubator-groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-groovy/commit/73ecf831
Tree: http://git-wip-us.apache.org/repos/asf/incubator-groovy/tree/73ecf831
Diff: http://git-wip-us.apache.org/repos/asf/incubator-groovy/diff/73ecf831
Branch: refs/heads/GROOVY_2_4_X
Commit: 73ecf8319894b59ee396a5b61a9389bf404a71cb
Parents: 8faf934
Author: pascalschumacher <pa...@gmx.net>
Authored: Fri Oct 23 19:19:57 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Sat Oct 24 15:40:33 2015 +0200
----------------------------------------------------------------------
src/test/groovy/grape/GrapeIvyTest.groovy | 5 +++++
1 file changed, 5 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/73ecf831/src/test/groovy/grape/GrapeIvyTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/grape/GrapeIvyTest.groovy b/src/test/groovy/grape/GrapeIvyTest.groovy
index 09ba130..890ce3a 100644
--- a/src/test/groovy/grape/GrapeIvyTest.groovy
+++ b/src/test/groovy/grape/GrapeIvyTest.groovy
@@ -21,6 +21,8 @@ package groovy.grape
import org.codehaus.groovy.control.CompilationFailedException
import gls.CompilableTestSupport
+import static org.junit.Assume.assumeFalse
+
/**
* @author Danno Ferrin
* @author Paul King
@@ -258,6 +260,9 @@ class GrapeIvyTest extends CompilableTestSupport {
}
public void testClassifierWithConf() {
+ assumeFalse('Test always fails on builds.apache.org on Windows, so we skip it there.',
+ new File('.').absolutePath =~ /jenkins|hudson/ && System.properties['os.name'].toLowerCase().contains('windows'))
+
def coreJars = [
"json-lib-2.2.3-jdk15.jar",
"commons-lang-2.4.jar",