diff --git a/integrationTest.groovy b/integrationTest.groovy index 737ede80e..b8bb44535 100644 --- a/integrationTest.groovy +++ b/integrationTest.groovy @@ -5,7 +5,7 @@ quietlyRunCommand "${mvn()} -B -P nonindy clean install invoker:install" groovyVersions = ["1.5.0", "1.5.1", "1.5.2", "1.5.3", "1.5.4", "1.5.5", "1.5.6", "1.5.7", "1.5.8", "1.6-beta-1", "1.6-beta-2", "1.6-RC-1", "1.6-RC-2", "1.6-RC-3", "1.6.0", "1.6.1", "1.6.2", "1.6.3", "1.6.4", "1.6.5", "1.6.6", "1.6.7", "1.6.8", "1.6.9", "1.7-beta-1", "1.7-beta-2", "1.7-rc-1", "1.7-rc-2", "1.7.0", "1.7.1", "1.7.2", "1.7.3", "1.7.4", "1.7.5", "1.7.6", "1.7.7", "1.7.8", "1.7.9", "1.7.10", "1.7.11", "1.8.0-beta-1", "1.8.0-beta-2", "1.8.0-beta-3", "1.8.0-beta-4", "1.8.0-rc-1", "1.8.0-rc-2", "1.8.0-rc-3", "1.8.0-rc-4", "1.8.0", "1.8.1", "1.8.2", "1.8.3", "1.8.4", "1.8.5", "1.8.6", "1.8.7", "1.8.8", "1.8.9", "1.9.0-beta-1", "1.9.0-beta-2", "1.9.0-beta-3", "1.9.0-beta-4", "2.0.0-beta-1", "2.0.0-beta-2", "2.0.0-beta-3", "2.0.0-rc-1", "2.0.0-rc-2", "2.0.0-rc-3", "2.0.0-rc-4", "2.0.0", "2.0.1", "2.0.2", "2.0.3", "2.0.4", "2.0.5", "2.0.6", "2.0.7", "2.0.8", "2.1.0-beta-1", "2.1.0-rc-1", "2.1.0-rc-2", "2.1.0-rc-3", "2.1.0", "2.1.1", "2.1.2", "2.1.3", "2.1.4", "2.1.5", "2.1.6", "2.1.7", "2.2.0-beta-1", "2.2.0-beta-2", "2.2.0-rc-1", "2.2.0-rc-2", "2.2.0-rc-3", "2.2.0", "2.2.1", "2.2.2", "2.3.0-beta-1", "2.3.0-beta-2", "2.3.0-rc-1", "2.3.0-rc-2", "2.3.0-rc-4", "2.3.0", "2.3.1", "2.3.2", "2.3.3", "2.3.4", "2.3.5", "2.3.6", "2.3.7", "2.3.8", "2.3.9", "2.4.0-beta-1", "2.4.0-beta-2", "2.4.0-beta-3", "2.4.0-beta-4", "2.4.0-rc-1", "2.4.0-rc-2", "2.4.0", "2.4.1"] for (int i = 0; i < groovyVersions.size(); i++) { def groovyVersion = groovyVersions[i] - println "Testing Groovy ${groovyVersion}..." + System.out.print "Testing Groovy ${groovyVersion}..." def pom = new File("pom.xml") pom.write((pom.text =~ /.+/).replaceFirst("${groovyVersion}")) testLabel = groovyVersion @@ -13,7 +13,7 @@ for (int i = 0; i < groovyVersions.size(); i++) { profile = "${i < 101 ? 'pre2.3-' : ''}nonindy" testVersion() if (i > 65) { - println "Testing Groovy ${groovyVersion}-indy..." + System.out.print "Testing Groovy ${groovyVersion}-indy..." testLabel = "${groovyVersion}-indy" os = new FileOutputStream(new File("groovy-${testLabel}.log")) profile = "${i < 101 ? 'pre2.3-' : ''}indy" @@ -28,9 +28,9 @@ void testVersion() { os.flush() os.close() if (exitCode != 0) { - println "Groovy ${testLabel} failed." + println " Failed." } else { - println "Groovy ${testLabel} succeeded." + println " Succeeded." new File("groovy-${testLabel}.log").delete() } }