polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [08/16] zest-java git commit: build: remove old hack to continue on test failures
Date Sun, 06 Nov 2016 17:01:00 GMT
build: remove old hack to continue on test failures

Gradle now provide --continue


Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/e21cd26d
Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/e21cd26d
Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/e21cd26d

Branch: refs/heads/develop
Commit: e21cd26d71b090c24971c7cbf802cfebb0eef3a9
Parents: cb45e28
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Thu Nov 3 19:15:11 2016 +0100
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Thu Nov 3 19:15:11 2016 +0100

----------------------------------------------------------------------
 build.gradle | 20 --------------------
 1 file changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zest-java/blob/e21cd26d/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 19abe39..88f2698 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,7 +23,6 @@ import org.apache.tools.ant.filters.ReplaceTokens
 project.ext {
   title = "Apache Zestâ„¢ (Java Edition) SDK"
   description = "Apache Zestâ„¢ (Java Edition) is a framework for domain centric application
development, including evolved concepts from AOP, DI and DDD."
-  testFailures = [ ]
   mainClassName = 'org.apache.zest.container.Main'
   groovycMain_mx = "700m"
   groovycMain_permSize = "512m"
@@ -356,14 +355,7 @@ allprojects {
       maxHeapSize = "1024m"
       systemProperties = testProperties
       systemProperties['user.dir'] = workingDir // GRADLE-2859
-      ignoreFailures = true
       reports.html.enabled(true)
-      afterSuite { descriptor, result ->
-        if( result.resultType == TestResult.ResultType.FAILURE )
-        {
-          rootProject.ext.testFailures << project
-        }
-      }
     }
     // ZEST-175
     if(JavaVersion.current() < JavaVersion.VERSION_1_9 ) {
@@ -434,18 +426,6 @@ task goOffline {
   }
 }
 
-gradle.taskGraph.whenReady {taskGraph ->
-  taskGraph.allTasks.last().doLast {
-    if( rootProject.ext.testFailures )
-    {
-      println "\nTest failures in:"
-      rootProject.ext.testFailures.unique().each { project -> println "  " + project.name
}
-      println ""
-      throw new RuntimeException( "There was TEST FAILURES!! See list above." )
-    }
-  }
-}
-
 task globalTestReport( type: TestReport ) {
   destinationDir = file("$buildDir/reports/tests")
   reportOn subprojects*.test


Mime
View raw message